forked from mtcontrib/mobs_redo
Added particle effect when mob dies
This commit is contained in:
2
api.lua
2
api.lua
@ -359,6 +359,8 @@ function check_for_death(self)
|
|||||||
|
|
||||||
self.object:remove()
|
self.object:remove()
|
||||||
|
|
||||||
|
effect(pos, 20, "tnt_smoke.png")
|
||||||
|
|
||||||
return true
|
return true
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user