diff --git a/mineleader.lua b/mineleader.lua index 9707655..a2677d1 100644 --- a/mineleader.lua +++ b/mineleader.lua @@ -143,7 +143,7 @@ local function attemptBreak(breakf, inspectf, notPattern) return false end print("Block found: " .. data.name) - if string.match(data.name, pattern) then + if string.match(data.name, notPattern) then return false end breakf()