Fixed minehost accessing nil variable.
This commit is contained in:
parent
fcd34d42a7
commit
507a016182
@ -92,7 +92,7 @@ local function listenForCommands()
|
||||
sendDirective(LEADER, MOVETO, x, y, z)
|
||||
elseif string.find(input, QUARRY) == 1 then
|
||||
deltasRaw = string.sub(input, string.len(QUARRY) + 1 + 1)
|
||||
local deltas = captureString(coordsRaw, "([+-]?%d+)")
|
||||
local deltas = captureString(deltasRaw, "([+-]?%d+)")
|
||||
sendDirective(LEADER, QUARRY, deltas[1], deltas[2], deltas[3])
|
||||
end
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user