scan loaded if not cached
This commit is contained in:
parent
5492dc59e2
commit
30fc72a34c
@ -147,6 +147,9 @@ public final class MineBehavior extends Behavior implements Helper {
|
||||
}
|
||||
}
|
||||
//System.out.println("Scan of cached chunks took " + (System.currentTimeMillis() - b) + "ms");
|
||||
if (locs.isEmpty()) {
|
||||
uninteresting = mining;
|
||||
}
|
||||
if (!uninteresting.isEmpty()) {
|
||||
//long before = System.currentTimeMillis();
|
||||
locs.addAll(WorldScanner.INSTANCE.scanLoadedChunks(uninteresting, max));
|
||||
|
Loading…
Reference in New Issue
Block a user