Remove loadchunk from chunk snapshot.

This commit is contained in:
tastybento 2019-11-10 15:06:30 -08:00
parent 4e33df1927
commit e383f79e3e

View File

@ -104,7 +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);
//worldToScan.loadChunk(pair.x, pair.z);
chunkSnapshot.add(worldToScan.getChunkAt(pair.x, pair.z).getChunkSnapshot());
worldToScan.unloadChunk(pair.x, pair.z, false);
} else {