Changed return values of attemptBreak.

This commit is contained in:
Harrison Deng 2021-05-07 19:49:12 -05:00
parent a2987431b8
commit ff9659ba8a

View File

@ -140,7 +140,7 @@ end
local function attemptBreak(breakf, inspectf, notPattern)
local exists, data = inspectf()
if not exists then
return false
return true
end
print("Block found: " .. data.name)
if string.match(data.name, notPattern) then