Added proper boolean return to block breaking.

This commit is contained in:
Harrison Deng 2021-05-07 19:47:56 -05:00
parent 7d41840247
commit a2987431b8

View File

@ -146,7 +146,7 @@ local function attemptBreak(breakf, inspectf, notPattern)
if string.match(data.name, notPattern) then if string.match(data.name, notPattern) then
return false return false
end end
breakf() return breakf()
end end
local function locatePosition() local function locatePosition()