Skip to content

Commit 000eb42

Browse files
author
burdo
committed
introduce AutoRoleService
1 parent 267b443 commit 000eb42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/comroid/api/func/util/Event.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ private <I> Bus<T> setDependent(
337337
return registerTargetListener(target, null);
338338
}
339339

340-
public Listener<T> subscribeData(final @NotNull Consumer<T> action) {
340+
public Listener<T> subscribeData(final @NotNull Consumer<? super T> action) {
341341
return subscribe(e -> action.accept(e.getData()));
342342
}
343343

0 commit comments

Comments
 (0)