diff options
author | xander <xander@isxander.dev> | 2022-09-23 21:11:56 +0100 |
---|---|---|
committer | xander <xander@isxander.dev> | 2022-09-23 21:11:56 +0100 |
commit | 63b796357e20dd360593517cd2116a618e4f9fd8 (patch) | |
tree | 2a0544014fc9ad6df9ae8d14bd51b4e1742829f6 /src/main/java/dev | |
parent | dd29c979e6092325ee064d3b8cf33816e7e93aa4 (diff) | |
download | YetAnotherConfigLib-63b796357e20dd360593517cd2116a618e4f9fd8.tar.gz YetAnotherConfigLib-63b796357e20dd360593517cd2116a618e4f9fd8.tar.bz2 YetAnotherConfigLib-63b796357e20dd360593517cd2116a618e4f9fd8.zip |
fix typeClass not being defined
Diffstat (limited to 'src/main/java/dev')
-rw-r--r-- | src/main/java/dev/isxander/yacl/impl/OptionImpl.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/dev/isxander/yacl/impl/OptionImpl.java b/src/main/java/dev/isxander/yacl/impl/OptionImpl.java index 14cf6a8..98a2f48 100644 --- a/src/main/java/dev/isxander/yacl/impl/OptionImpl.java +++ b/src/main/java/dev/isxander/yacl/impl/OptionImpl.java @@ -42,12 +42,12 @@ public class OptionImpl<T> implements Option<T> { @NotNull Collection<BiConsumer<Option<T>, T>> listeners ) { this.name = name; - this.controller = controlGetter.apply(this); this.binding = binding; this.available = available; this.flags = flags; this.typeClass = typeClass; this.listeners = new ArrayList<>(listeners); + this.controller = controlGetter.apply(this); addListener((opt, pending) -> tooltip = tooltipGetter.apply(pending)); requestSet(binding().getValue()); |