diff --git a/minehost.lua b/minehost.lua index 91da9c8..cbd670d 100644 --- a/minehost.lua +++ b/minehost.lua @@ -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