Made sure values are numbers for quarrying.

This commit is contained in:
Harrison Deng 2021-05-07 17:18:55 -05:00
parent 117ead0a6c
commit fcd34d42a7

View File

@ -406,6 +406,9 @@ end
local function quarry(x, y, z, forward, right, pattern)
x = tonumber(x)
y = tonumber(y)
z = tonumber(z)
sendLog(QUARRY, "Starting quarry of (x length,depth,z length): " .. x .. "," .. y .. "," .. z)
for yDelta=1,math.abs(y) do
for xDelta=1,math.abs(x) do