unloadRequestTaskMaster.shutdown(new ChunkUnloadRequest(), true);
lightMerger.shutdown();
for (Chunk chunk : nearCache.values()) {
if (chunk.isReady()) {
worldEntity.send(new BeforeChunkUnload(chunk.getPosition()));
storageManager.deactivateChunk(chunk);
chunk.dispose();
}
}
nearCache.clear();