Adventure - Difficulty data storage fix

This commit is contained in:
jjayers99
2023-07-16 22:01:36 -04:00
parent dd1285aa3a
commit 0c6ee4992a

View File

@@ -282,6 +282,7 @@ public class AdventurePlayer implements Serializable, SaveFileContent {
if (this.difficultyData.sellFactor == 0) if (this.difficultyData.sellFactor == 0)
this.difficultyData.sellFactor = 0.2f; this.difficultyData.sellFactor = 0.2f;
//BEGIN SPECIAL CASES
//Previously these were not being read from or written to save files, causing defaults to appear after reload //Previously these were not being read from or written to save files, causing defaults to appear after reload
//Pull from config if appropriate //Pull from config if appropriate
DifficultyData configuredDifficulty = null; DifficultyData configuredDifficulty = null;