1
0
mirror of https://codeberg.org/tenplus1/mobs_monster.git synced 2024-12-23 01:10:26 +01:00

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) 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() self.object:remove()
minetest.add_particlespawner({ minetest.add_particlespawner({