@Override public void unloadChunks() { for (Chunk chunk : this.chunks.values()) { this.unloadChunk(chunk.getX(), chunk.getZ(), false); } this.chunks = new HashMap<>(); }
@Override public void saveChunks() { for (Chunk chunk : this.chunks.values()) { this.saveChunk(chunk.getX(), chunk.getZ()); } }