mirror of
https://github.com/minetest-mods/technic.git
synced 2025-02-22 23:00:22 +01:00
Merge pull request #18 from minetest-mods/master
[pull] pandorabox from minetest-mods:master
This commit is contained in:
commit
b5921b8e90
@ -142,7 +142,7 @@ local iclipfence_def = {
|
||||
|
||||
local sclip_tex = {
|
||||
"technic_insulator_clip.png",
|
||||
{ name = "strut.png^steel_strut_overlay.png", color = "white" },
|
||||
{ name = "strut.png^technic_steel_strut_overlay.png", color = "white" },
|
||||
{ name = "strut.png", color = "white" }
|
||||
}
|
||||
|
||||
|
@ -452,7 +452,7 @@ function technic.discharge_tools(meta, batt_charge, charge_step, max_charge)
|
||||
if inv:is_empty("dst") then
|
||||
return batt_charge, false
|
||||
end
|
||||
srcstack = inv:get_stack("dst", 1)
|
||||
local srcstack = inv:get_stack("dst", 1)
|
||||
local toolname = srcstack:get_name()
|
||||
if technic.power_tools[toolname] == nil then
|
||||
return batt_charge, false
|
||||
|
Loading…
x
Reference in New Issue
Block a user