diff --git a/proxy/src/main/java/net/md_5/bungee/ServerConnection.java b/proxy/src/main/java/net/md_5/bungee/ServerConnection.java index b531ee6c..54be8ad8 100644 --- a/proxy/src/main/java/net/md_5/bungee/ServerConnection.java +++ b/proxy/src/main/java/net/md_5/bungee/ServerConnection.java @@ -54,16 +54,7 @@ public class ServerConnection implements Server { if ( !ch.isClosed() ) { - // TODO: Can we just use a future here? - unsafe().sendPacket( new Kick( ComponentSerializer.toString( reason ) ) ); - ch.getHandle().eventLoop().schedule( new Runnable() - { - @Override - public void run() - { - ch.getHandle().close(); - } - }, 100, TimeUnit.MILLISECONDS ); + ch.getHandle().close(); } }