From d7a9d31706a30c8b66dcd0587f6c82cf7c6118c9 Mon Sep 17 00:00:00 2001 From: isXander Date: Fri, 18 Aug 2023 11:43:52 +0100 Subject: Enforce NotNull on bindings --- common/src/main/java/dev/isxander/yacl3/impl/ButtonOptionImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common/src/main/java/dev/isxander/yacl3/impl/ButtonOptionImpl.java') diff --git a/common/src/main/java/dev/isxander/yacl3/impl/ButtonOptionImpl.java b/common/src/main/java/dev/isxander/yacl3/impl/ButtonOptionImpl.java index 7451f7c..170b8e0 100644 --- a/common/src/main/java/dev/isxander/yacl3/impl/ButtonOptionImpl.java +++ b/common/src/main/java/dev/isxander/yacl3/impl/ButtonOptionImpl.java @@ -93,7 +93,7 @@ public final class ButtonOptionImpl implements ButtonOption { } @Override - public void requestSet(BiConsumer value) { + public void requestSet(@NotNull BiConsumer value) { throw new UnsupportedOperationException(); } -- cgit