Fix server generation constantly subdividing in INTERNAL_SERVER mode

This commit is contained in:
s809
2025-01-08 14:33:57 +05:00
parent 54cbead4eb
commit c660aa9fb3
@@ -226,8 +226,9 @@ public class FullDataSourceRequestHandler
requestGroup.fullDataSource = fullDataSource;
}
else if (
Config.Common.WorldGenerator.distantGeneratorMode.get() == EDhApiDistantGeneratorMode.INTERNAL_SERVER
|| DhSectionPos.getDetailLevel(pos) > this.serverLevel.serverside.fullDataFileHandler.lowestDataDetailLevel()
DhSectionPos.getDetailLevel(pos) > (Config.Common.WorldGenerator.distantGeneratorMode.get() == EDhApiDistantGeneratorMode.INTERNAL_SERVER
? DhSectionPos.SECTION_MINIMUM_DETAIL_LEVEL
: this.serverLevel.serverside.fullDataFileHandler.lowestDataDetailLevel())
)
{
// Make this group unavailable for adding into