Changed return values of attemptBreak.
This commit is contained in:
parent
a2987431b8
commit
ff9659ba8a
@ -140,7 +140,7 @@ end
|
|||||||
local function attemptBreak(breakf, inspectf, notPattern)
|
local function attemptBreak(breakf, inspectf, notPattern)
|
||||||
local exists, data = inspectf()
|
local exists, data = inspectf()
|
||||||
if not exists then
|
if not exists then
|
||||||
return false
|
return true
|
||||||
end
|
end
|
||||||
print("Block found: " .. data.name)
|
print("Block found: " .. data.name)
|
||||||
if string.match(data.name, notPattern) then
|
if string.match(data.name, notPattern) then
|
||||||
|
Loading…
Reference in New Issue
Block a user