Prevent giant trees from being breached by fungal trees.

This commit is contained in:
Duane 2016-07-15 04:35:39 -05:00
parent 1648bc459f
commit ae3e8eff08

View file

@ -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