From b180f85aadded0b36d85e87d3c224e26fa8efc22 Mon Sep 17 00:00:00 2001 From: Harrison Deng Date: Fri, 7 May 2021 19:42:01 -0500 Subject: [PATCH] replaced "&&" with "and". --- mineleader.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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