diff --git a/mods/default/item_entity.lua b/mods/default/item_entity.lua index f7b2b0b..35398e5 100644 --- a/mods/default/item_entity.lua +++ b/mods/default/item_entity.lua @@ -52,7 +52,7 @@ local item = { if pos == nil then return -- object already deleted end - local node = minetest.get_node_or_nil(self.object:getpos()) + local node = minetest.get_node_or_nil(pos) if not node then return end