diff --git a/mineleader.lua b/mineleader.lua index 006a06b..38888f7 100644 --- a/mineleader.lua +++ b/mineleader.lua @@ -467,7 +467,7 @@ local function quarry(x, y, z, relative, pattern) end local bool reverseTrip = false; for xDelta=1,math.abs(x) do - for zDelta=1,math.abs(z) do + for zDelta=1,(math.abs(z) - 1) do print("X,Z: " .. xDelta .. "," .. zDelta) print("heading, right heading: " .. textutils.serialiseJSON(forward) .. ", " .. textutils.serializeJSON(right)) local success = true;