forked from mtcontrib/mobs_monster
re-add flame on death for lava flan with air check
This commit is contained in:
parent
f584247096
commit
b6dfd802d3
|
@ -52,6 +52,10 @@ mobs:register_mob("mobs_monster:lava_flan", {
|
|||
},
|
||||
on_die = function(self, pos)
|
||||
|
||||
if minetest.get_node(pos).name == "air" then
|
||||
minetest.set_node(pos, {name = "fire:basic_flame"})
|
||||
end
|
||||
|
||||
self.object:remove()
|
||||
|
||||
minetest.add_particlespawner({
|
||||
|
|
Loading…
Reference in New Issue
Block a user