From 9bc99a5d04fc41290b57bc11eb513751d2f80bb2 Mon Sep 17 00:00:00 2001 From: Vanessa Ezekowitz Date: Wed, 6 Nov 2013 23:08:28 -0500 Subject: [PATCH] fix chainsaw not working --- technic/tools/chainsaw.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/technic/tools/chainsaw.lua b/technic/tools/chainsaw.lua index 8fed0c2..67ec43d 100644 --- a/technic/tools/chainsaw.lua +++ b/technic/tools/chainsaw.lua @@ -12,7 +12,7 @@ minetest.register_tool("technic:chainsaw", { inventory_image = "technic_chainsaw.png", stack_max = 1, on_use = function(itemstack, user, pointed_thing) - if pointed_thing.type == "node" then + if pointed_thing.type ~= "node" then return itemstack end local meta = get_item_meta(itemstack:get_metadata())