From 2019467735c4a950b52e3e93d76aa4809ca3c74e Mon Sep 17 00:00:00 2001 From: Joachim Stolberg Date: Fri, 1 May 2020 18:21:31 +0200 Subject: [PATCH] power line protection bugfix --- power/power_line.lua | 4 ---- 1 file changed, 4 deletions(-) diff --git a/power/power_line.lua b/power/power_line.lua index 707857e..8cbe6d4 100644 --- a/power/power_line.lua +++ b/power/power_line.lua @@ -43,7 +43,6 @@ minetest.register_node("techage:power_line", { return false end, - can_dig = can_dig, after_dig_node = function(pos, oldnode, oldmetadata, digger) if oldmetadata and oldmetadata.fields and oldmetadata.fields.tl2_param2 then oldnode.param2 = oldmetadata.fields.tl2_param2 @@ -85,7 +84,6 @@ minetest.register_node("techage:power_lineS", { return false end, - can_dig = can_dig, after_dig_node = function(pos, oldnode, oldmetadata, digger) if oldmetadata and oldmetadata.fields and oldmetadata.fields.tl2_param2 then oldnode.param2 = oldmetadata.fields.tl2_param2 @@ -133,7 +131,6 @@ minetest.register_node("techage:power_lineA", { return false end, - can_dig = can_dig, after_dig_node = function(pos, oldnode, oldmetadata, digger) if oldmetadata and oldmetadata.fields and oldmetadata.fields.tl2_param2 then oldnode.param2 = oldmetadata.fields.tl2_param2 @@ -345,7 +342,6 @@ minetest.register_node("techage:power_pole3", { { -4/32, -16/32, -4/32, 4/32, 16/32, 4/32}, }, }, - can_dig = can_dig, on_rotate = screwdriver.disallow, -- important! paramtype = "light", sunlight_propagates = true,