From e6f053f2cfb22b78b8cd0c122fc474301515ca28 Mon Sep 17 00:00:00 2001 From: ANAND Date: Fri, 24 Apr 2020 01:31:41 +0530 Subject: [PATCH] Fix crash in default/item_entity.lua --- mods/mtg/default/item_entity.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/mtg/default/item_entity.lua b/mods/mtg/default/item_entity.lua index 2a61f08..b5f9ef9 100644 --- a/mods/mtg/default/item_entity.lua +++ b/mods/mtg/default/item_entity.lua @@ -15,8 +15,8 @@ local item = { burn_up = function(self) -- disappear in a smoke puff - self.object:remove() local p = self.object:get_pos() + self.object:remove() minetest.sound_play("default_item_smoke", { pos = p, max_hear_distance = 8,