Added block breaking to when switching rows during quarrying.
This commit is contained in:
@@ -443,8 +443,9 @@ local function quarry(x, y, z, forward, right, pattern)
|
|||||||
sendLog(FAILED, "Unable to proceed with quarrying.")
|
sendLog(FAILED, "Unable to proceed with quarrying.")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
if not (orient(vector.new(x, 0, 0), forward, right) and attemptMoveForward()) then
|
if not (orient(vector.new(x, 0, 0), forward, right) and attemptBreakFront(pattern) and attemptMoveForward()) then
|
||||||
sendLog(FAILED, "Unable to move to next row.")
|
sendLog(FAILED, "Unable to move to next row.")
|
||||||
|
return
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Reference in New Issue
Block a user