diff --git a/src/main/java/baritone/Settings.java b/src/main/java/baritone/Settings.java index 6a30099c..099493e2 100644 --- a/src/main/java/baritone/Settings.java +++ b/src/main/java/baritone/Settings.java @@ -326,7 +326,7 @@ public class Settings { public List> getAllValuesByType(Class klass) { List> result = new ArrayList<>(); for (Setting setting : allSettings) { - if (setting.klass.equals(klass)) { + if (setting.getValueClass().equals(klass)) { result.add((Setting) setting); } }