From a26a97e7fb69c6e2fbe9fe7d5896c8a44643017a Mon Sep 17 00:00:00 2001 From: Fabian Maurer Date: Thu, 26 Mar 2026 16:27:56 +0100 Subject: [PATCH] Fix inverted chunk update ignoring logic --- .../wrappers/worldGeneration/InternalServerGenerator.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/src/main/java/com/seibel/distanthorizons/common/wrappers/worldGeneration/InternalServerGenerator.java b/common/src/main/java/com/seibel/distanthorizons/common/wrappers/worldGeneration/InternalServerGenerator.java index 28b442d77..a0feb826f 100644 --- a/common/src/main/java/com/seibel/distanthorizons/common/wrappers/worldGeneration/InternalServerGenerator.java +++ b/common/src/main/java/com/seibel/distanthorizons/common/wrappers/worldGeneration/InternalServerGenerator.java @@ -245,7 +245,7 @@ public class InternalServerGenerator // ignore chunk update events for this position if (this.updateManager != null) { - this.updateManager.removePosToIgnore(new DhChunkPos(chunkPos.x, chunkPos.z)); + this.updateManager.addPosToIgnore(new DhChunkPos(chunkPos.x, chunkPos.z)); } #if MC_VER < MC_1_21_5 @@ -311,7 +311,7 @@ public class InternalServerGenerator { if (InternalServerGenerator.this.updateManager != null) { - InternalServerGenerator.this.updateManager.addPosToIgnore(new DhChunkPos(chunkPos.x, chunkPos.z)); + InternalServerGenerator.this.updateManager.removePosToIgnore(new DhChunkPos(chunkPos.x, chunkPos.z)); } } }, MS_TO_IGNORE_CHUNK_AFTER_COMPLETION);