From c687e8cb7b9e624474353b0cc10acc5db14192f8 Mon Sep 17 00:00:00 2001 From: Jordan Snelling <jordach.snelling@gmail.com> Date: Thu, 27 Jun 2013 09:40:03 +0200 Subject: [PATCH] Merge pull request #36 from ObKo/blocks --- 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