Require non-null reason (#1823)

This commit is contained in:
Wouter Gritter
2026-06-15 16:47:31 +02:00
committed by GitHub
parent 1b64a70a00
commit 3b892899db
2 changed files with 4 additions and 2 deletions

View File

@@ -197,7 +197,7 @@ public interface Player extends
*
* @param reason component with the reason
*/
void disconnect(Component reason);
void disconnect(@NotNull Component reason);
/**
* Sends chat input onto the players current server as if they typed it into the client chat box.