Skip to content

Commit

Permalink
fix: Force an options save after applying defaults before creating kn…
Browse files Browse the repository at this point in the history
…ownKeys file #72
  • Loading branch information
BlayTheNinth committed May 25, 2024
1 parent 4d95fd2 commit 546badb
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ public void loadDefaults() {
}
}
KeyMapping.resetMapping();
saveCurrentOptions();

// Save the updated known keys to the knownkeys.txt file in the Minecraft directory
try (PrintWriter writer = new PrintWriter(new FileWriter(new File(DefaultOptions.getMinecraftDataDir(), "knownkeys.txt")))) {
Expand Down

0 comments on commit 546badb

Please sign in to comment.