Fix flammable item entities crashing

* https://github.com/minetest/minetest_game/issues/2657
* https://github.com/minetest/minetest_game/pull/2659
* partial fix from upstream
This commit is contained in:
mckaygerhard 2024-04-18 13:37:49 -04:00
parent 4901df3c95
commit da0cad8af7

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:getpos())
local node = minetest.get_node_or_nil(pos)
if not node then
return
end