Made foundWithinY in WorldScanner an "option"

This commit is contained in:
Brady
2018-09-20 12:21:23 -05:00
parent d0fd370d53
commit 37f00f3e14
2 changed files with 12 additions and 3 deletions

View File

@@ -148,7 +148,7 @@ public final class MineBehavior extends Behavior implements Helper {
}
if (!uninteresting.isEmpty()) {
//long before = System.currentTimeMillis();
locs.addAll(WorldScanner.INSTANCE.scanLoadedChunks(uninteresting, max));
locs.addAll(WorldScanner.INSTANCE.scanLoadedChunks(uninteresting, max, 10));
//System.out.println("Scan of loaded chunks took " + (System.currentTimeMillis() - before) + "ms");
}
return prune(locs, mining, max);