Fixed nil argument.
This commit is contained in:
parent
d1a0560446
commit
433203f490
@ -143,7 +143,7 @@ local function attemptBreak(breakf, inspectf, notPattern)
|
|||||||
return false
|
return false
|
||||||
end
|
end
|
||||||
print("Block found: " .. data.name)
|
print("Block found: " .. data.name)
|
||||||
if string.match(data.name, pattern) then
|
if string.match(data.name, notPattern) then
|
||||||
return false
|
return false
|
||||||
end
|
end
|
||||||
breakf()
|
breakf()
|
||||||
|
Loading…
Reference in New Issue
Block a user