Skip to content

Commit

Permalink
Add deprecation notice (#1442)
Browse files Browse the repository at this point in the history
  • Loading branch information
Elikill58 authored Oct 21, 2024
1 parent 99aaf3c commit 9a93bbe
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,13 @@ public ChatResult getResult() {
return result;
}

/**
* Set result for the event.
*
* @param result the result of event
* @deprecated for 1.19.1 and newer, set this as denied will kick users
*/
@Deprecated
@Override
public void setResult(ChatResult result) {
this.result = Preconditions.checkNotNull(result, "result");
Expand Down

0 comments on commit 9a93bbe

Please sign in to comment.