diff --git a/mineleader.lua b/mineleader.lua index 24683a5..cc4a831 100644 --- a/mineleader.lua +++ b/mineleader.lua @@ -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