forked from Mineclonia/Mineclonia
Fixed efficiency drops
This commit is contained in:
parent
66eb5c35da
commit
977489de04
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue