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:
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