From 413e5056836013903eebb3068af5408550ac94ca Mon Sep 17 00:00:00 2001 From: Leijurv Date: Mon, 8 Oct 2018 18:08:01 -0700 Subject: [PATCH] epic --- src/api/java/baritone/api/utils/SettingsUtil.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/api/java/baritone/api/utils/SettingsUtil.java b/src/api/java/baritone/api/utils/SettingsUtil.java index 219c17f79..3e11d8e52 100644 --- a/src/api/java/baritone/api/utils/SettingsUtil.java +++ b/src/api/java/baritone/api/utils/SettingsUtil.java @@ -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());