From: Novatux Date: Sun, 18 May 2014 12:47:05 +0000 (+0200) Subject: Fix errors when trying to charge buckets of water. X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=b204090accc92bbb9e9904ff7622e8dcc3adc276;p=zefram%2Fminetest%2Ftechnic.git Fix errors when trying to charge buckets of water. --- diff --git a/technic/machines/register/battery_box.lua b/technic/machines/register/battery_box.lua index 3b5728b..05c14f1 100644 --- a/technic/machines/register/battery_box.lua +++ b/technic/machines/register/battery_box.lua @@ -163,7 +163,6 @@ function technic.charge_tools(meta, batt_charge, charge_step) return batt_charge end local srcstack = inv:get_stack("src", 1) - local src_meta = minetest.deserialize(srcstack:get_metadata()) local toolname = srcstack:get_name() if not technic.power_tools[toolname] then