@ -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