replaced "&&" with "and".

This commit is contained in:
Harrison Deng 2021-05-07 19:42:01 -05:00
parent bbaadcb28d
commit b180f85aad

View File

@ -431,10 +431,10 @@ local function quarry(x, y, z, forward, right, pattern)
for zDelta=1,math.abs(z) do
local success = true;
orient(vector.new(0, 0, z), forward, right)
success = success && attemptBreakUp(pattern)
success = success && attemptBreakDown(pattern)
success = success && attemptBreakFront(pattern)
success = success && attemptMoveForward(pattern)
success = success and attemptBreakUp(pattern)
success = success and attemptBreakDown(pattern)
success = success and attemptBreakFront(pattern)
success = success and attemptMoveForward(pattern)
if not success then
sendLog(FAILED, "Unable to proceed with quarrying.")
end