File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/main/java/minevalley/core/api/utils Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ public interface ClickableMessage {
12
12
* Defines if this clickable message gets disabled automatically when the player clicks it.
13
13
*
14
14
* @param isSelfCancelling boolean that defines if this clickable message is self cancelling
15
- * @return this clickable message
15
+ * @return this
16
16
*/
17
17
@ Nonnull
18
18
@ Contract ("_ -> this" )
@@ -21,12 +21,12 @@ public interface ClickableMessage {
21
21
/**
22
22
* Defines the callback which is called when the player clicks this message.
23
23
*
24
- * @param runnable will be called if the player clicks the message
25
- * @return runnable
24
+ * @param callback will be called if the player clicks the message
25
+ * @return this
26
26
*/
27
27
@ Nonnull
28
28
@ Contract ("_ -> this" )
29
- ClickableMessage setCallback (@ Nonnull Runnable callback );
29
+ ClickableMessage setCallback (@ Nonnull Runnable callback ) throws IllegalArgumentException ;
30
30
31
31
/**
32
32
* Disables this clickable message
You can’t perform that action at this time.
0 commit comments