Replaced brackets with lua "then" and "end".
This commit is contained in:
parent
8a21ae4d77
commit
ced8bc2b50
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user