From: Vanessa Ezekowitz Date: Thu, 7 Nov 2013 04:08:28 +0000 (-0500) Subject: fix chainsaw not working X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=9bc99a5d04fc41290b57bc11eb513751d2f80bb2;p=zefram%2Fminetest%2Ftechnic.git fix chainsaw not working --- 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())