forked from mtcontrib/mobs_monster
Removed lava flan when dead (custom on_die)
This commit is contained in:
parent
8a8a4e80d1
commit
c4e4986f55
@ -51,6 +51,7 @@ mobs:register_mob("mobs_monster:lava_flan", {
|
||||
},
|
||||
on_die = function(self, pos)
|
||||
minetest.set_node(pos, {name = "fire:basic_flame"})
|
||||
self.object:remove()
|
||||
end,
|
||||
})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user