From b204090accc92bbb9e9904ff7622e8dcc3adc276 Mon Sep 17 00:00:00 2001 From: Novatux Date: Sun, 18 May 2014 14:47:05 +0200 Subject: [PATCH] Fix errors when trying to charge buckets of water. --- technic/machines/register/battery_box.lua | 1 - 1 file changed, 1 deletion(-) 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 -- 2.30.2