mirror of
https://github.com/minetest-mods/technic.git
synced 2024-12-27 03:10:29 +01:00
Fix errors when trying to charge buckets of water.
This commit is contained in:
parent
c7a4c05860
commit
b204090acc
@ -163,7 +163,6 @@ function technic.charge_tools(meta, batt_charge, charge_step)
|
|||||||
return batt_charge
|
return batt_charge
|
||||||
end
|
end
|
||||||
local srcstack = inv:get_stack("src", 1)
|
local srcstack = inv:get_stack("src", 1)
|
||||||
local src_meta = minetest.deserialize(srcstack:get_metadata())
|
|
||||||
|
|
||||||
local toolname = srcstack:get_name()
|
local toolname = srcstack:get_name()
|
||||||
if not technic.power_tools[toolname] then
|
if not technic.power_tools[toolname] then
|
||||||
|
Loading…
Reference in New Issue
Block a user