Workbench: allow to exclude cuttable nodes with group

This commit is contained in:
JP Guerrero 2016-12-03 11:48:38 +01:00
parent cd75beed21
commit 0ddfea29d0

View File

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