Skip to content

Commit 63b7963

Browse files
committed
fix typeClass not being defined
1 parent dd29c97 commit 63b7963

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/dev/isxander/yacl/impl/OptionImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,12 @@ public OptionImpl(
4242
@NotNull Collection<BiConsumer<Option<T>, T>> listeners
4343
) {
4444
this.name = name;
45-
this.controller = controlGetter.apply(this);
4645
this.binding = binding;
4746
this.available = available;
4847
this.flags = flags;
4948
this.typeClass = typeClass;
5049
this.listeners = new ArrayList<>(listeners);
50+
this.controller = controlGetter.apply(this);
5151

5252
addListener((opt, pending) -> tooltip = tooltipGetter.apply(pending));
5353
requestSet(binding().getValue());

0 commit comments

Comments
 (0)