From ed08523d4a8b18cac6460f2d95a7e1daafdd1218 Mon Sep 17 00:00:00 2001 From: D4VID Date: Thu, 27 Jun 2024 17:20:45 +0200 Subject: [PATCH] Mine the whole area instead --- mine.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mine.lua b/mine.lua index 38d61c6..f176b4b 100644 --- a/mine.lua +++ b/mine.lua @@ -42,7 +42,7 @@ local function mine(mine_rows, mine_row_length) print("Mining row " .. i .. " of " .. mine_rows) mine_row(mine_row_length) robot.turnLeft() - if mine_n(3) ~= 3 then + if mine_n(1) ~= 1 then print("Unable to continue mining rows") return end @@ -56,4 +56,4 @@ local rows, row_length = ... print("Will mine " .. rows .. "x" .. row_length .. " rows") -mine(rows, row_length) +mine(rows, row_length) \ No newline at end of file