Added block breaking to when switching rows during quarrying.
This commit is contained in:
parent
ff9659ba8a
commit
3c634fe129
@ -443,8 +443,9 @@ local function quarry(x, y, z, forward, right, pattern)
|
||||
sendLog(FAILED, "Unable to proceed with quarrying.")
|
||||
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.")
|
||||
return
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user