Fixed extra z length removed.

This commit is contained in:
Harrison Deng 2021-05-09 13:30:24 -05:00
parent ef0b0f94ce
commit 04904d0935

View File

@ -467,7 +467,7 @@ local function quarry(x, y, z, relative, pattern)
end end
local bool reverseTrip = false; local bool reverseTrip = false;
for xDelta=1,math.abs(x) do 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("X,Z: " .. xDelta .. "," .. zDelta)
print("heading, right heading: " .. textutils.serialiseJSON(forward) .. ", " .. textutils.serializeJSON(right)) print("heading, right heading: " .. textutils.serialiseJSON(forward) .. ", " .. textutils.serializeJSON(right))
local success = true; local success = true;