Replaced brackets with lua "then" and "end".

This commit is contained in:
Harrison Deng 2021-05-07 17:03:41 -05:00
parent 8a21ae4d77
commit ced8bc2b50

View File

@ -419,11 +419,11 @@ local function quarry(x, y, z, forward, right, pattern)
orient(vector.new(x, 0, 0), forward, right) orient(vector.new(x, 0, 0), forward, right)
attemptMoveForward() attemptMoveForward()
end end
if (y > 0) { if (y > 0) then
attemptMoveUp(); attemptMoveUp();
} elseif (y < 0) { elseif (y < 0) then
attemptMoveDown(); attemptMoveDown();
} end
end end
end end