Fix errors when trying to charge buckets of water.
authorNovatux <nathanael.courant@laposte.net>
Sun, 18 May 2014 12:47:05 +0000 (14:47 +0200)
committerNovatux <nathanael.courant@laposte.net>
Sun, 18 May 2014 12:47:05 +0000 (14:47 +0200)
technic/machines/register/battery_box.lua

index 3b5728bb0165e0bb8aceef011fbd088faae6a742..05c14f1b861c0277366e2b29c509987099b49da2 100644 (file)
@@ -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