Fixed nil argument.
This commit is contained in:
parent
d1a0560446
commit
433203f490
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user