Added debug logging.
This commit is contained in:
parent
2895b1fd14
commit
d1a0560446
@ -142,6 +142,7 @@ local function attemptBreak(breakf, inspectf, notPattern)
|
||||
if not exists then
|
||||
return false
|
||||
end
|
||||
print("Block found: " .. data.name)
|
||||
if string.match(data.name, pattern) then
|
||||
return false
|
||||
end
|
||||
@ -409,7 +410,7 @@ 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 .. " with a not pattern of: " .. pattern)
|
||||
for yDelta=1,math.abs(y) do
|
||||
for xDelta=1,math.abs(x) do
|
||||
for zDelta=1,math.abs(z) do
|
||||
|
Loading…
Reference in New Issue
Block a user