From 8111e46f8d478c21f319bad4b4109ad137dd09ae Mon Sep 17 00:00:00 2001 From: mckaygerhard Date: Thu, 18 Apr 2024 13:40:29 -0400 Subject: [PATCH] Fix flammable item entities crashing * https://github.com/minetest/minetest_game/issues/2657 * https://github.com/minetest/minetest_game/pull/2659 * backported https://github.com/minetest/minetest_game/commit/33eb7cee2a548dba89a6aed6ec7c9d093de4ff2f --- mods/default/item_entity.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/default/item_entity.lua b/mods/default/item_entity.lua index 5601d85..8403c7a 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:get_pos()) + local node = minetest.get_node_or_nil(pos) if not node then return end