From ae3e8eff08f9dc5861935929ef5b88dad41d4366 Mon Sep 17 00:00:00 2001 From: Duane Date: Fri, 15 Jul 2016 04:35:39 -0500 Subject: [PATCH] Prevent giant trees from being breached by fungal trees. --- abms.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/abms.lua b/abms.lua index 6acdccf..74fd235 100644 --- a/abms.lua +++ b/abms.lua @@ -846,7 +846,7 @@ local function destroy(pos, cid) end 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 end