From a3026fbb61ddcbc76486568f8a652e82c26018d1 Mon Sep 17 00:00:00 2001 From: James Seibel Date: Tue, 31 Oct 2023 20:29:30 -0500 Subject: [PATCH] Add a FIXME comment --- .../worldGeneration/mimicObject/WorldGenStructFeatManager.java | 1 + 1 file changed, 1 insertion(+) diff --git a/common/src/main/java/com/seibel/distanthorizons/common/wrappers/worldGeneration/mimicObject/WorldGenStructFeatManager.java b/common/src/main/java/com/seibel/distanthorizons/common/wrappers/worldGeneration/mimicObject/WorldGenStructFeatManager.java index b2e8ff623..79259fd36 100644 --- a/common/src/main/java/com/seibel/distanthorizons/common/wrappers/worldGeneration/mimicObject/WorldGenStructFeatManager.java +++ b/common/src/main/java/com/seibel/distanthorizons/common/wrappers/worldGeneration/mimicObject/WorldGenStructFeatManager.java @@ -122,6 +122,7 @@ public class WorldGenStructFeatManager extends #if PRE_MC_1_19_2 StructureFeatur ChunkAccess chunk = _getChunk(sectionPos2.x(), sectionPos2.z(), ChunkStatus.STRUCTURE_REFERENCES); if (chunk == null) return Stream.empty(); + // FIXME getReferencesForFeature can throw ConcurrentModificationException's return chunk.getReferencesForFeature(structureFeature).stream().map(pos -> { SectionPos sectPos = SectionPos.of(ChunkPos.getX(pos), 0, ChunkPos.getZ(pos)); ChunkAccess startChunk = _getChunk(sectPos.x(), sectPos.z(), ChunkStatus.STRUCTURE_STARTS);