From 0ddfea29d003a7e1d720e646946e7f74c7c2c64e Mon Sep 17 00:00:00 2001
From: JP Guerrero <jeanpatrick.guerrero@gmail.com>
Date: Sat, 3 Dec 2016 11:48:38 +0100
Subject: [PATCH] Workbench: allow to exclude cuttable nodes with group

---
 src/workbench.lua | 1 +
 1 file changed, 1 insertion(+)

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