From 12d0c6522bbca906910aae0321cbaa7eb48db8c2 Mon Sep 17 00:00:00 2001 From: Zefram <zefram@fysh.org> Date: Wed, 30 Jul 2014 21:28:30 +0200 Subject: [PATCH] Correct breakability of sandstone CNC nodes --- technic/tools/chainsaw.lua | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/technic/tools/chainsaw.lua b/technic/tools/chainsaw.lua index 4a1bfd8..eaa33bf 100644 --- a/technic/tools/chainsaw.lua +++ b/technic/tools/chainsaw.lua @@ -289,9 +289,9 @@ end local name = user:get_player_name() - if minetest.is_protected(pos, name) then - minetest.record_protection_violation(pos, name) - return current_charge + if minetest.is_protected(pointed_thing.under, name) then + minetest.record_protection_violation(pointed_thing.under, name) + return end -- Send current charge to digging function so that the @@ -307,9 +307,9 @@ minetest.register_craft({ output = "technic:chainsaw", recipe = { - {"technic:stainless_steel_ingot", "technic:stainless_steel_ingot", "technic:battery"}, - {"technic:stainless_steel_ingot", "technic:motor", "technic:battery"}, - {"", "", "default:copper_ingot"}, + {"technic:stainless_steel_ingot", "mesecons_button:button_off", "technic:battery"}, + {"technic:fine_copper_wire", "technic:motor", "technic:battery"}, + {"", "", "technic:stainless_steel_ingot"}, } }) -- Gitblit v1.8.0