forked from Mineclonia/Mineclonia
Fix nodes with “flammable = -1” not catching fire
This commit is contained in:
parent
052c9fcbcf
commit
6c2fb98160
|
@ -47,7 +47,7 @@ local function has_flammable(pos)
|
|||
for k,v in pairs(adjacents) do
|
||||
local p=vector.add(pos,v)
|
||||
local n=minetest.get_node_or_nil(p)
|
||||
if n and minetest.get_item_group(n.name, "flammable") > 0 then
|
||||
if n and minetest.get_item_group(n.name, "flammable") ~= 0 then
|
||||
return p
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue