start with more than one chunk

This commit is contained in:
Leijurv 2018-09-04 16:02:31 -07:00
parent 0c4fd39845
commit 81ffbddc94
No known key found for this signature in database
GPG Key ID: 44A3EA646EADAC6A

View File

@ -47,7 +47,7 @@ public enum WorldScanner implements Helper {
int playerChunkX = playerFeet().getX() >> 4; int playerChunkX = playerFeet().getX() >> 4;
int playerChunkZ = playerFeet().getZ() >> 4; int playerChunkZ = playerFeet().getZ() >> 4;
int searchRadius = 0; int searchRadius = 2;
while (true) { while (true) {
boolean allUnloaded = true; boolean allUnloaded = true;
for (int xoff = -searchRadius; xoff <= searchRadius; xoff++) { for (int xoff = -searchRadius; xoff <= searchRadius; xoff++) {