mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2025-03-29 09:22:31 +01:00
Disable object collision of dead mobs
This commit is contained in:
@ -806,6 +806,7 @@ local check_for_death = function(self, cause, cmi_cause)
|
||||
self.state = "die"
|
||||
self.object:set_properties({
|
||||
pointable = false,
|
||||
collide_with_objects = false,
|
||||
})
|
||||
set_velocity(self, 0)
|
||||
|
||||
|
Reference in New Issue
Block a user