diff --git a/SubstrateCS/Source/Region.cs b/SubstrateCS/Source/Region.cs index 35e13eb..2ccd29c 100644 --- a/SubstrateCS/Source/Region.cs +++ b/SubstrateCS/Source/Region.cs @@ -504,7 +504,7 @@ namespace Substrate rf.DeleteChunk(lcx, lcz); - ChunkKey k = new ChunkKey(lcx, lcz); + ChunkKey k = new ChunkKey(ChunkGlobalX(lcx), ChunkGlobalZ(lcz)); _cache.Remove(k); if (ChunkCount() == 0) {