mirror of
https://codeberg.org/tenplus1/mobs_monster.git
synced 2024-12-23 09:20:26 +01:00
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)
|
on_die = function(self, pos)
|
||||||
minetest.set_node(pos, {name = "fire:basic_flame"})
|
minetest.set_node(pos, {name = "fire:basic_flame"})
|
||||||
|
self.object:remove()
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user