We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd29c97 commit 63b7963Copy full SHA for 63b7963
1 file changed
src/main/java/dev/isxander/yacl/impl/OptionImpl.java
@@ -42,12 +42,12 @@ public OptionImpl(
42
@NotNull Collection<BiConsumer<Option<T>, T>> listeners
43
) {
44
this.name = name;
45
- this.controller = controlGetter.apply(this);
46
this.binding = binding;
47
this.available = available;
48
this.flags = flags;
49
this.typeClass = typeClass;
50
this.listeners = new ArrayList<>(listeners);
+ this.controller = controlGetter.apply(this);
51
52
addListener((opt, pending) -> tooltip = tooltipGetter.apply(pending));
53
requestSet(binding().getValue());
0 commit comments