Fix blocking the server thread in 1.20.1 world generation

This commit is contained in:
James Seibel
2023-07-23 15:32:40 -05:00
parent 0ff59e49a1
commit dc556efe0b
@@ -247,7 +247,7 @@ public class ChunkLoader
if (chunkType == ChunkStatus.ChunkType.PROTOCHUNK && (blendingData == null || !blendingData.oldNoise()))
return null;
#else
if (chunkType == ChunkStatus.ChunkType.PROTOCHUNK && (blendingData == null || level.getChunk(chunkPos.getMiddleBlockX(),chunkPos.getMiddleBlockZ()).isOldNoiseGeneration()))
if (chunkType == ChunkStatus.ChunkType.PROTOCHUNK && blendingData == null)
return null;
#endif
#endif