Skip to content

Commit

Permalink
Properly Save Changed Difficulty on Dedicated Servers
Browse files Browse the repository at this point in the history
  • Loading branch information
IntegerLimit committed Mar 1, 2025
1 parent d64b6ff commit a4e3d14
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,8 @@ public void changeInitDifficulty(CallbackInfoReturnable<EnumDifficulty> cir) {

NomiLabs.LOGGER.warn("-----------------------------------------------");
NomiLabs.LOGGER.warn("===============================================");
settings.setProperty("difficulty", locked.getId());
settings.saveProperties();
}
}

Expand Down

0 comments on commit a4e3d14

Please sign in to comment.