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