Small code / api cleanup. Need to fix kicking in general, especially in ServerConnector before release.

This commit is contained in:
md_5
2013-03-11 10:06:14 +11:00
parent 2e33ab1460
commit 76319371f7
7 changed files with 3 additions and 25 deletions

View File

@@ -30,14 +30,6 @@ public interface PendingConnection extends Connection
*/
public InetSocketAddress getVirtualHost();
/**
* Completely kick this user from the proxy and all of its child
* connections.
*
* @param reason the disconnect reason displayed to the player
*/
public void disconnect(String reason);
/**
* Get the listener that accepted this connection.
*

View File

@@ -48,13 +48,6 @@ public interface ProxiedPlayer extends Connection, CommandSender
*/
public int getPing();
/**
* Disconnect (remove) this player from the proxy with the specified reason.
*
* @param reason the reason displayed to the player
*/
public void disconnect(String reason);
/**
* Send a plugin message to this player.
*