From a71f00e9f88efd2b041a4fd097b105f4ad26eda1 Mon Sep 17 00:00:00 2001
From: Cristiano Magro <cristiano.magro@vola.it>
Date: Fri, 03 Sep 2021 15:25:09 +0200
Subject: [PATCH] fix esclusione blocco dal pick

---
 technic/tools/xno_pick.lua |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/technic/tools/xno_pick.lua b/technic/tools/xno_pick.lua
index 1344520..fb1a0da 100644
--- a/technic/tools/xno_pick.lua
+++ b/technic/tools/xno_pick.lua
@@ -22,7 +22,7 @@
     node_name:match("default:mese") or
     node_name:match("technic:mineral_.*") or
     node_name:match("xtraores:.*_ore") or
-    node_name:match("underch:.*_ore") and ~node_name:match("underch:.*_eye_ore") or
+    node_name:match("underch:.*_ore") and not node_name:match("underch:.*_eye_ore") or
     -- underch:black_eye_ore
     node_name:match("underch:coal_dust") or
     node_name:match("underch:coal_diamond") or

--
Gitblit v1.8.0