From 3c634fe129c14cbad9e962a4aa1735ca0b0e5491 Mon Sep 17 00:00:00 2001 From: Harrison Deng Date: Fri, 7 May 2021 19:51:45 -0500 Subject: [PATCH] Added block breaking to when switching rows during quarrying. --- mineleader.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mineleader.lua b/mineleader.lua index aa2ad4b..535dbb1 100644 --- a/mineleader.lua +++ b/mineleader.lua @@ -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