fix(inferium-harvester): dropAllProcedure

This commit is contained in:
Guillaume ARM 2024-05-24 19:05:44 +02:00
parent 1748b29bbd
commit 626a195bb4

View File

@ -151,7 +151,7 @@ local function dropAllProcedure(_)
if count > 0 then if count > 0 then
turtleUtils.waitForInventory('bottom', IDLE_TIME) turtleUtils.waitForInventory('bottom', IDLE_TIME)
while not turtleUtils.dropSlot(i, turtle.dropDown) do while turtle.getItemCount(i) and not turtleUtils.dropSlot(i, turtle.dropDown) do
os.sleep(IDLE_TIME) os.sleep(IDLE_TIME)
end end
end end