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:
parent
7f796449ee
commit
8111e46f8d
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user