aboutsummaryrefslogtreecommitdiff
path: root/common/src/main/java/dev/isxander/yacl/impl/OptionImpl.java
diff options
context:
space:
mode:
authorisXander <xandersmith2008@gmail.com>2023-05-25 19:36:47 +0100
committerisXander <xandersmith2008@gmail.com>2023-05-25 19:36:47 +0100
commit2792276924cf5e292211bc0d43dbc4cf3eb9c181 (patch)
treed041268817a8c73ffa1f9a2a2a65f968c3be1ab6 /common/src/main/java/dev/isxander/yacl/impl/OptionImpl.java
parentaba5085302c6ad8eec1aa9ed25a9a86758d95d34 (diff)
downloadYetAnotherConfigLib-2792276924cf5e292211bc0d43dbc4cf3eb9c181.tar.gz
YetAnotherConfigLib-2792276924cf5e292211bc0d43dbc4cf3eb9c181.tar.bz2
YetAnotherConfigLib-2792276924cf5e292211bc0d43dbc4cf3eb9c181.zip
removed `.name()` from description, replaced with option name. also javadoc
Diffstat (limited to 'common/src/main/java/dev/isxander/yacl/impl/OptionImpl.java')
-rw-r--r--common/src/main/java/dev/isxander/yacl/impl/OptionImpl.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/src/main/java/dev/isxander/yacl/impl/OptionImpl.java b/common/src/main/java/dev/isxander/yacl/impl/OptionImpl.java
index 98dcc23..ebb1226 100644
--- a/common/src/main/java/dev/isxander/yacl/impl/OptionImpl.java
+++ b/common/src/main/java/dev/isxander/yacl/impl/OptionImpl.java
@@ -312,7 +312,7 @@ public final class OptionImpl<T> implements Option<T> {
return concatenatedTooltip;
};
- descriptionFunction = opt -> OptionDescription.createBuilder().name(name).description(concatenatedTooltipGetter.apply(opt)).build();
+ descriptionFunction = opt -> OptionDescription.createBuilder().description(concatenatedTooltipGetter.apply(opt)).build();
}
return new OptionImpl<>(name, descriptionFunction, controlGetter, binding, available, ImmutableSet.copyOf(flags), typeClass, listeners);