mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-19 11:59:25 +00:00
Fix LevelSettings ignoring data configuration. Close #9938
This commit is contained in:
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() {
|
||||
|
||||
Reference in new issue
Block a user