From d1a0560446b3a3624901b9c9b6afc2db9a762295 Mon Sep 17 00:00:00 2001 From: Harrison Deng Date: Fri, 7 May 2021 18:01:10 -0500 Subject: [PATCH] Added debug logging. --- mineleader.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mineleader.lua b/mineleader.lua index 1db52be..9707655 100644 --- a/mineleader.lua +++ b/mineleader.lua @@ -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