diff --git a/src/main/programs/turtle-miner-fibo.lua b/src/main/programs/turtle-miner-fibo.lua index f798f9e..07449bf 100644 --- a/src/main/programs/turtle-miner-fibo.lua +++ b/src/main/programs/turtle-miner-fibo.lua @@ -170,9 +170,9 @@ local function recursiveOreMining() end end -local function mineRow(distance) +local function mineRow() --mine a 3 Block high Tunnel for Blocks - for i=state["dataCurrentPathProgress"], distance-2 do + for i=state["dataCurrentPathProgress"], state["dataGoalPathProgress"]-2 do print("row: " .. state["dataCurrentRow"]+1 .. "/" .. state["dataGoalRows"] .. ", pathProgress: " .. state["dataCurrentPathProgress"]+1 .. "/" .. state["dataGoalPathProgress"]) turtle.dig()