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)
attemptMoveForward()
end
if (y > 0) {
if (y > 0) then
attemptMoveUp();
} elseif (y < 0) {
elseif (y < 0) then
attemptMoveDown();
}
end
end
end