public static void RemoveChunk(int chunkX, int chunkZ) { key.Set(chunkX, chunkZ); if (chunkDict.ContainsKey(key)) { NBTChunk chunk = chunkDict[key]; ChunkRefresher.Remove(chunk); chunk.ClearData(); ChunkPool.Recover(chunk); chunkDict.Remove(key); } }