Skip to content

Commit

Permalink
update ServerLevel constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
HSGamer committed Oct 22, 2024
1 parent f313f34 commit 1aa76f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/me/hsgamer/morefoworld/WorldUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 1aa76f2

Please sign in to comment.