/// <summary> /// Unloads a chunk from the world. /// </summary> /// <param name="pos"></param> public void UnloadChunk(ChunkPos pos) { lock (_chunks) { ChunkRenderer.UnloadChunk(pos); _chunks.RemoveAll(c => c.Position.Equals(pos)); } }