Serialized to JSON to fix table concatenation error.

This commit is contained in:
Harrison Deng 2021-05-09 13:17:21 -05:00
parent 6d3541a1c6
commit 231781eb89

View File

@ -468,7 +468,7 @@ local function quarry(x, y, z, relative, pattern)
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) do
print("X,Z: " .. xDelta .. "," .. zDelta) print("X,Z: " .. xDelta .. "," .. zDelta)
print("heading, right heading: " .. forward .. ", " .. right) print("heading, right heading: " .. textutils.serialiseJSON(forward) .. ", " .. textutils.serializeJSON(right))
local success = true; local success = true;
if reverseTrip then if reverseTrip then
orient(vector.new(0,0, -z), forward, right) orient(vector.new(0,0, -z), forward, right)