summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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