This commit is contained in:
Julian Brammer 2024-06-02 02:42:31 +02:00
parent 5949cc22fb
commit 80b6fbd952

View File

@ -211,10 +211,15 @@ local function mineChunk()
mineRow(state["dataGoalPathProgress"])
--turn back and return to start of row if not last row
turtle.turnLeft()
turtle.turnLeft()
if i<state["dataGoalRows"]-1 then
while not turtle.detect() do
turtle.turnLeft()
turtle.turnLeft()
--while not turtle.detect() do
-- turtle.forward()
--end
for j=1, state["dataGoalPathProgress"] do
turtle.forward()
end
end
@ -222,7 +227,7 @@ local function mineChunk()
--go to next row
turtle.turnLeft()
for j=0, 2 doe
for j=0, 2 do
turtle.dig()
turtle.forward()
turtle.digUp()