Fix flammable item entities crashing

* https://github.com/minetest/minetest_game/issues/2657
* https://github.com/minetest/minetest_game/pull/2659
* backported 33eb7cee2a
This commit is contained in:
mckaygerhard 2024-04-18 13:40:29 -04:00
parent 7f796449ee
commit 8111e46f8d

View File

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