summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNovatux <nathanael.courant@laposte.net>2014-05-18 14:47:05 +0200
committerNovatux <nathanael.courant@laposte.net>2014-05-18 14:47:05 +0200
commitb204090accc92bbb9e9904ff7622e8dcc3adc276 (patch)
tree7497b6980f475c2ac052634d367124640b8e18f5
parentc7a4c05860245e0945156bac72797c9e09ff8840 (diff)
Fix errors when trying to charge buckets of water.
-rw-r--r--technic/machines/register/battery_box.lua1
1 files changed, 0 insertions, 1 deletions
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