Skip to content

Commit

Permalink
epic
Browse files Browse the repository at this point in the history
  • Loading branch information
leijurv committed Oct 9, 2018
1 parent 0f1edba commit 413e505
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/api/java/baritone/api/utils/SettingsUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,9 @@ public static synchronized void save(Settings settings) {
if (setting.getName().equals("logger")) {
continue; // NO
}
if (setting.value == setting.defaultValue) {
continue;
}
SettingsIO io = map.get(setting.getValueClass());
if (io == null) {
throw new IllegalStateException("Missing " + setting.getValueClass() + " " + setting + " " + setting.getName());
Expand Down

0 comments on commit 413e505

Please sign in to comment.