Add disconnect API call

This commit is contained in:
Andrew Steinborn
2018-08-22 00:47:29 -04:00
parent db9f668290
commit 8352f7fa70
2 changed files with 7 additions and 0 deletions

View File

@@ -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);
}