1
0
Fork 0

Fixed efficiency drops

This commit is contained in:
Lizzy Fleckenstein 2020-12-18 17:33:02 +01:00
parent 66eb5c35da
commit 977489de04
1 changed files with 12 additions and 0 deletions

View File

@ -193,6 +193,12 @@ local check_can_drop = function(node_name, tool_capabilities)
if toolgroupcaps[plus] then if toolgroupcaps[plus] then
return true return true
end end
for e=1,5 do
local effplus = plus .. "_efficiency_" .. e
if toolgroupcaps[effplus] then
return true
end
end
end end
end end
for b=1, #basegroups do for b=1, #basegroups do
@ -204,6 +210,12 @@ local check_can_drop = function(node_name, tool_capabilities)
if toolgroupcaps[plus] then if toolgroupcaps[plus] then
return true return true
end end
for e=1,5 do
local effplus = plus .. "_efficiency_" .. e
if toolgroupcaps[effplus] then
return true
end
end
end end
end end
end end