mirror of
https://github.com/BentoBoxWorld/Level.git
synced 2024-11-22 18:45:24 +01:00
Remove loadchunk from chunk snapshot.
This commit is contained in:
parent
4e33df1927
commit
e383f79e3e
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user