1
0
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:
TenPlus1 2016-09-06 10:06:40 +01:00
parent 8a8a4e80d1
commit c4e4986f55

View File

@ -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,
}) })