This commit is contained in:
Leijurv 2018-10-08 18:08:01 -07:00
parent 0f1edba5f1
commit 413e505683
No known key found for this signature in database
GPG Key ID: 44A3EA646EADAC6A
1 changed files with 3 additions and 0 deletions

View File

@ -75,6 +75,9 @@ public class SettingsUtil {
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());