Made sure values are numbers for quarrying.
This commit is contained in:
parent
117ead0a6c
commit
fcd34d42a7
@ -406,6 +406,9 @@ end
|
|||||||
|
|
||||||
|
|
||||||
local function quarry(x, y, z, forward, right, pattern)
|
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)
|
sendLog(QUARRY, "Starting quarry of (x length,depth,z length): " .. x .. "," .. y .. "," .. z)
|
||||||
for yDelta=1,math.abs(y) do
|
for yDelta=1,math.abs(y) do
|
||||||
for xDelta=1,math.abs(x) do
|
for xDelta=1,math.abs(x) do
|
||||||
|
Loading…
Reference in New Issue
Block a user