From fb6111a3f626701e06a65131844efb02ee053b47 Mon Sep 17 00:00:00 2001 From: RealBadAngel <mk@realbadangel.pl> Date: Sun, 14 Apr 2013 04:38:57 +0200 Subject: [PATCH] Merge pull request #13 from Novatux/master --- technic/chainsaw.lua | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/technic/chainsaw.lua b/technic/chainsaw.lua index eb12732..2c3fbf5 100644 --- a/technic/chainsaw.lua +++ b/technic/chainsaw.lua @@ -9,8 +9,8 @@ if pointed_thing.type=="node" then item=itemstack:to_table() local meta=get_item_meta(item["metadata"]) - if meta==nil then return false end --tool not charghed - if meta["charge"]==nil then return false end + if meta==nil then return end --tool not charghed + if meta["charge"]==nil then return end charge=meta["charge"] charge_to_take=600; if charge-charge_to_take>0 then -- Gitblit v1.8.0