mirror of
https://github.com/PaperMC/Velocity.git
synced 2026-02-17 14:37:43 +01:00
Add disconnect API call
This commit is contained in:
@@ -53,4 +53,6 @@ public interface Player extends CommandSource, InboundConnection, ChannelMessage
|
||||
* @return a new connection request
|
||||
*/
|
||||
ConnectionRequestBuilder createConnectionRequest(@NonNull ServerInfo info);
|
||||
|
||||
void disconnect(Component reason);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user