From ea92a8f9227eb937a42f79ef20e153342d4e9ab6 Mon Sep 17 00:00:00 2001 From: James Seibel Date: Sat, 6 Dec 2025 09:18:55 -0600 Subject: [PATCH] revert internal server to FEATURES to improve speed --- .../internalServer/InternalServerGenerator.java | 6 +++--- coreSubProjects | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/common/src/main/java/com/seibel/distanthorizons/common/wrappers/worldGeneration/internalServer/InternalServerGenerator.java b/common/src/main/java/com/seibel/distanthorizons/common/wrappers/worldGeneration/internalServer/InternalServerGenerator.java index d0cf3f5e8..684e5bc99 100644 --- a/common/src/main/java/com/seibel/distanthorizons/common/wrappers/worldGeneration/internalServer/InternalServerGenerator.java +++ b/common/src/main/java/com/seibel/distanthorizons/common/wrappers/worldGeneration/internalServer/InternalServerGenerator.java @@ -254,13 +254,13 @@ public class InternalServerGenerator } #if MC_VER <= MC_1_20_4 - return chunkHolder.getOrScheduleFuture(ChunkStatus.FULL, level.getChunkSource().chunkMap) + return chunkHolder.getOrScheduleFuture(ChunkStatus.FEATURES, level.getChunkSource().chunkMap) .thenApply(result -> result.left().orElseThrow(() -> new RuntimeException(result.right().get().toString()))); // can throw if the server is shutting down #elif MC_VER <= MC_1_20_6 - return chunkHolder.getOrScheduleFuture(ChunkStatus.FULL, level.getChunkSource().chunkMap) + return chunkHolder.getOrScheduleFuture(ChunkStatus.FEATURES, level.getChunkSource().chunkMap) .thenApply(result -> result.orElseThrow(() -> new RuntimeException(result.toString()))); // can throw if the server is shutting down #else - return chunkHolder.scheduleChunkGenerationTask(ChunkStatus.FULL, level.getChunkSource().chunkMap) + return chunkHolder.scheduleChunkGenerationTask(ChunkStatus.FEATURES, level.getChunkSource().chunkMap) .thenApply(result -> result.orElseThrow(() -> new RuntimeException(result.getError()))); // can throw if the server is shutting down #endif diff --git a/coreSubProjects b/coreSubProjects index 385bd326c..5ca754d2a 160000 --- a/coreSubProjects +++ b/coreSubProjects @@ -1 +1 @@ -Subproject commit 385bd326cf2488bcef7be82194e55743a141e3cf +Subproject commit 5ca754d2ac1e65c4b800194a9fd1350232d5ab2c