From 1f8013c1cf218b5567ae6f6364fe13c61775cb54 Mon Sep 17 00:00:00 2001 From: s809 <43530948+s809@users.noreply.github.com> Date: Sat, 1 Feb 2025 18:30:07 +0500 Subject: [PATCH] Use generateOnlyInHighestDetail client-side --- .../core/generation/RemoteWorldRetrievalQueue.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/core/src/main/java/com/seibel/distanthorizons/core/generation/RemoteWorldRetrievalQueue.java b/core/src/main/java/com/seibel/distanthorizons/core/generation/RemoteWorldRetrievalQueue.java index f45953741..2a4316bac 100644 --- a/core/src/main/java/com/seibel/distanthorizons/core/generation/RemoteWorldRetrievalQueue.java +++ b/core/src/main/java/com/seibel/distanthorizons/core/generation/RemoteWorldRetrievalQueue.java @@ -48,7 +48,12 @@ public class RemoteWorldRetrievalQueue extends AbstractFullDataNetworkRequestQue public void startAndSetTargetPos(DhBlockPos2D targetPos) { super.tick(targetPos); } @Override - public byte lowestDataDetail() { return LodUtil.BLOCK_DETAIL_LEVEL + 12; } // TODO should be the same as what the server's update propgator can provide + public byte lowestDataDetail() + { + return Config.Server.generateOnlyInHighestDetail.get() + ? LodUtil.BLOCK_DETAIL_LEVEL + : LodUtil.BLOCK_DETAIL_LEVEL + 12; + } // TODO should be the same as what the server's update propagator can provide @Override public byte highestDataDetail() { return LodUtil.BLOCK_DETAIL_LEVEL; }