From beb30a56039971d11185b7348fe9c33a78cee535 Mon Sep 17 00:00:00 2001 From: Thomas Rudin Date: Sun, 12 May 2019 18:43:12 +0200 Subject: [PATCH] fix digtron crate corruption --- technic/tools/mining_drill.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/technic/tools/mining_drill.lua b/technic/tools/mining_drill.lua index cb16914..555b6cd 100644 --- a/technic/tools/mining_drill.lua +++ b/technic/tools/mining_drill.lua @@ -55,6 +55,8 @@ local function drill_dig_it0 (pos,player) if node.name == "air" or node.name == "ignore" then return end if node.name == "default:lava_source" then return end if node.name == "default:lava_flowing" then return end + if node.name == "digtron:loaded_crate" then return end + if node.name == "digtron:loaded_locked_crate" then return end if node.name == "default:water_source" then minetest.remove_node(pos) return end if node.name == "default:water_flowing" then minetest.remove_node(pos) return end minetest.node_dig(pos,node,player)