mirror of
https://github.com/BentoBoxWorld/Level.git
synced 2024-11-22 10:36:08 +01:00
Does not save chunks on unloading.
This commit is contained in:
parent
91a69adae1
commit
55f6a124bf
@ -104,9 +104,8 @@ 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);
|
||||
worldToScan.unloadChunk(pair.x, pair.z, false);
|
||||
} else {
|
||||
chunkSnapshot.add(worldToScan.getChunkAt(pair.x, pair.z).getChunkSnapshot());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user