Mirror von
https://github.com/PaperMC/Velocity.git
synchronisiert 2024-11-06 08:10:12 +01:00
Add deprecation notice (#1442)
Dieser Commit ist enthalten in:
Ursprung
99aaf3ce4e
Commit
9a93bbe990
@ -51,6 +51,13 @@ public final class PlayerChatEvent implements ResultedEvent<PlayerChatEvent.Chat
|
|||||||
return result;
|
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
|
@Override
|
||||||
public void setResult(ChatResult result) {
|
public void setResult(ChatResult result) {
|
||||||
this.result = Preconditions.checkNotNull(result, "result");
|
this.result = Preconditions.checkNotNull(result, "result");
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren