Prevent giant trees from being breached by fungal trees.
This commit is contained in:
parent
1648bc459f
commit
ae3e8eff08
1 changed files with 1 additions and 1 deletions
2
abms.lua
2
abms.lua
|
@ -846,7 +846,7 @@ local function destroy(pos, cid)
|
||||||
end
|
end
|
||||||
|
|
||||||
local def = cid_data[cid]
|
local def = cid_data[cid]
|
||||||
if not def or minetest.is_protected(pos, "") then
|
if not (def and def.flammable and def.flammable > 0 and not minetest.is_protected(pos, "")) then
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue