From 1aa76f2bb7def8fc0abd7a8971e8f979a2573b06 Mon Sep 17 00:00:00 2001 From: hsgamer Date: Tue, 22 Oct 2024 17:57:51 +0700 Subject: [PATCH] update ServerLevel constructor --- src/main/java/me/hsgamer/morefoworld/WorldUtil.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/me/hsgamer/morefoworld/WorldUtil.java b/src/main/java/me/hsgamer/morefoworld/WorldUtil.java index 4bfc38a..9d900bd 100644 --- a/src/main/java/me/hsgamer/morefoworld/WorldUtil.java +++ b/src/main/java/me/hsgamer/morefoworld/WorldUtil.java @@ -206,8 +206,8 @@ public static FeedbackWorld addWorld(WorldCreator creator) { if (creator.keepSpawnLoaded() == TriState.FALSE) { worlddata.getGameRules().getRule(GameRules.RULE_SPAWN_CHUNK_RADIUS).set(0, null); } - ServerLevel internal = new ServerLevel(console, console.executor, worldSession, worlddata, worldKey, worlddimension, console.progressListenerFactory.create(11), - worlddata.isDebugWorld(), j, creator.environment() == World.Environment.NORMAL ? list : ImmutableList.of(), true, null, creator.environment(), generator, biomeProvider); + ServerLevel internal = new ServerLevel(console, console.executor, worldSession, worlddata, worldKey, worlddimension, console.progressListenerFactory.create(worlddata.getGameRules().getInt(GameRules.RULE_SPAWN_CHUNK_RADIUS)), + worlddata.isDebugWorld(), j, creator.environment() == World.Environment.NORMAL ? list : ImmutableList.of(), true, console.overworld().getRandomSequences(), creator.environment(), generator, biomeProvider); console.addLevel(internal);