Fix errors when trying to charge buckets of water.

This commit is contained in:
Novatux 2014-05-18 14:47:05 +02:00
parent c7a4c05860
commit b204090acc

View 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