示例#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());
   }
 }