extend cache on threshold

This commit is contained in:
Logan Darklock 2019-08-30 17:19:44 -07:00
parent b6c91b5062
commit a6726f4e96
No known key found for this signature in database
GPG Key ID: B8C37CEDE1AC60EA

View File

@ -333,7 +333,7 @@ public final class MineProcess extends BaritoneProcessHelper implements IMinePro
} }
} }
if (!untracked.isEmpty()) { if (!untracked.isEmpty() || (Baritone.settings().extendCacheOnThreshold.value && locs.size() < max)) {
locs.addAll(WorldScanner.INSTANCE.scanChunkRadius( locs.addAll(WorldScanner.INSTANCE.scanChunkRadius(
ctx.getBaritone().getPlayerContext(), ctx.getBaritone().getPlayerContext(),
filter, filter,