Пример #1
0
 @Override
 public void unloadChunks() {
   for (Chunk chunk : this.chunks.values()) {
     this.unloadChunk(chunk.getX(), chunk.getZ(), false);
   }
   this.chunks = new HashMap<>();
 }
Пример #2
0
 @Override
 public void saveChunks() {
   for (Chunk chunk : this.chunks.values()) {
     this.saveChunk(chunk.getX(), chunk.getZ());
   }
 }