From: JP Guerrero Date: Sat, 3 Dec 2016 10:48:38 +0000 (+0100) Subject: Workbench: allow to exclude cuttable nodes with group X-Git-Tag: 1.0~20 X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=0ddfea29d003a7e1d720e646946e7f74c7c2c64e;p=xdecor.git Workbench: allow to exclude cuttable nodes with group --- diff --git a/src/workbench.lua b/src/workbench.lua index c64f4ee..6b762a4 100644 --- a/src/workbench.lua +++ b/src/workbench.lua @@ -14,6 +14,7 @@ for node, def in pairs(minetest.registered_nodes) do not def.on_blast and not def.allow_metadata_inventory_take and not (def.groups.not_in_creative_inventory == 1) and + not (def.groups.not_cuttable == 1) and not def.groups.wool and (def.tiles and not def.tiles[1]:find("default_mineral")) and not def.mesecons and