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:
parent
4901df3c95
commit
da0cad8af7
@ -52,7 +52,7 @@ local item = {
|
|||||||
if pos == nil then
|
if pos == nil then
|
||||||
return -- object already deleted
|
return -- object already deleted
|
||||||
end
|
end
|
||||||
local node = minetest.get_node_or_nil(self.object:getpos())
|
local node = minetest.get_node_or_nil(pos)
|
||||||
if not node then
|
if not node then
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user