diff options
author | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2013-11-06 23:08:28 -0500 |
---|---|---|
committer | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2013-11-06 23:08:28 -0500 |
commit | 9bc99a5d04fc41290b57bc11eb513751d2f80bb2 (patch) | |
tree | 75e0232228a782b2cbf1063877f50c3aba5d79ce | |
parent | f6b1d075c280a91ea38524d934e20eaf5f8d1949 (diff) |
fix chainsaw not working
-rw-r--r-- | technic/tools/chainsaw.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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()) |