Fix LevelSettings ignoring data configuration. Close #9938

This commit is contained in:
LexManos committed 2024-06-03 12:46:09 -07:00
1 parent 70f96ef64e
commit 1b7665cdaa
1 file changed
+1 -1
@@ -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() {