re-add flame on death for lava flan with air check

This commit is contained in:
TenPlus1 2018-05-24 13:08:54 +01:00
parent f584247096
commit b6dfd802d3

View File

@ -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({