From b3c580e657218a18d2fdeb920ab7608a39256e92 Mon Sep 17 00:00:00 2001 From: Leijurv Date: Mon, 4 Mar 2019 21:49:21 -0800 Subject: [PATCH] teensy javadoc --- src/api/java/baritone/api/Settings.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/api/java/baritone/api/Settings.java b/src/api/java/baritone/api/Settings.java index bdebd117..0e31d942 100644 --- a/src/api/java/baritone/api/Settings.java +++ b/src/api/java/baritone/api/Settings.java @@ -721,6 +721,11 @@ public final class Settings { this.klass = (Class) value.getClass(); } + /** + * Deprecated! Please use .value directly instead + * + * @return the current setting value + */ @Deprecated public final T get() { return value; @@ -739,6 +744,9 @@ public final class Settings { return SettingsUtil.settingToString(this); } + /** + * Reset this setting to its default value + */ public void reset() { value = defaultValue; }