Fixed extra z length removed.
This commit is contained in:
parent
ef0b0f94ce
commit
04904d0935
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user