From 1b7665cdaa84be80116b66c50c58bde438cc8c83 Mon Sep 17 00:00:00 2001 From: LexManos Date: Mon, 3 Jun 2024 12:46:09 -0700 Subject: [PATCH] Fix LevelSettings ignoring data configuration. Close #9938 --- .../net/minecraft/world/level/LevelSettings.java.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patches/minecraft/net/minecraft/world/level/LevelSettings.java.patch b/patches/minecraft/net/minecraft/world/level/LevelSettings.java.patch index d08b29a42b..1f94079d4d 100644 --- a/patches/minecraft/net/minecraft/world/level/LevelSettings.java.patch +++ b/patches/minecraft/net/minecraft/world/level/LevelSettings.java.patch @@ -45,7 +45,7 @@ public LevelSettings withDataConfiguration(WorldDataConfiguration p_250867_) { - return new LevelSettings(this.levelName, this.gameType, this.hardcore, this.difficulty, this.allowCommands, this.gameRules, p_250867_); -+ return new LevelSettings(this.levelName, this.gameType, this.hardcore, this.difficulty, this.allowCommands, this.gameRules, dataConfiguration, this.lifecycle); ++ return new LevelSettings(this.levelName, this.gameType, this.hardcore, this.difficulty, this.allowCommands, this.gameRules, p_250867_, this.lifecycle); } public LevelSettings copy() {