prune before checking size
This commit is contained in:
parent
a6726f4e96
commit
69ca48287e
@ -333,6 +333,8 @@ public final class MineProcess extends BaritoneProcessHelper implements IMinePro
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
locs = prune(ctx, locs, filter, max, blacklist);
|
||||||
|
|
||||||
if (!untracked.isEmpty() || (Baritone.settings().extendCacheOnThreshold.value && locs.size() < max)) {
|
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(),
|
||||||
|
Loading…
Reference in New Issue
Block a user