mirror of
https://github.com/minetest-mods/technic.git
synced 2025-08-02 23:40:21 +02:00
Fix errors when trying to charge buckets of water.
This commit is contained in:
@ -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
|
||||||
|
Reference in New Issue
Block a user