diff --git a/mineleader.lua b/mineleader.lua index dbb663a..98035e4 100644 --- a/mineleader.lua +++ b/mineleader.lua @@ -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