Added forced chunk loading back in.

This commit is contained in:
tastybento 2019-11-09 20:51:41 -08:00
parent 55f6a124bf
commit 4e33df1927

View File

@ -104,6 +104,7 @@ public class CalcIslandLevel {
Pair<Integer, Integer> pair = it.next();
for (World worldToScan : worlds) {
if (!worldToScan.isChunkLoaded(pair.x, pair.z)) {
worldToScan.loadChunk(pair.x, pair.z);
chunkSnapshot.add(worldToScan.getChunkAt(pair.x, pair.z).getChunkSnapshot());
worldToScan.unloadChunk(pair.x, pair.z, false);
} else {