From c4e4986f55c073941a8dbc18e1086f55c843403e Mon Sep 17 00:00:00 2001 From: TenPlus1 Date: Tue, 6 Sep 2016 10:06:40 +0100 Subject: [PATCH] Removed lava flan when dead (custom on_die) --- lava_flan.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/lava_flan.lua b/lava_flan.lua index 816a703..c43a0aa 100644 --- a/lava_flan.lua +++ b/lava_flan.lua @@ -51,6 +51,7 @@ mobs:register_mob("mobs_monster:lava_flan", { }, on_die = function(self, pos) minetest.set_node(pos, {name = "fire:basic_flame"}) + self.object:remove() end, })