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 95904de9..5e452780 100644 --- a/proxy/src/main/java/net/md_5/bungee/ServerConnection.java +++ b/proxy/src/main/java/net/md_5/bungee/ServerConnection.java @@ -57,7 +57,7 @@ public class ServerConnection implements Server { Preconditions.checkArgument( reason.length == 0, "Server cannot have disconnect reason" ); - ch.delayedClose( null ); + ch.close(); } @Override diff --git a/proxy/src/main/java/net/md_5/bungee/UserConnection.java b/proxy/src/main/java/net/md_5/bungee/UserConnection.java index beb6e9ae..bb62e27d 100644 --- a/proxy/src/main/java/net/md_5/bungee/UserConnection.java +++ b/proxy/src/main/java/net/md_5/bungee/UserConnection.java @@ -397,7 +397,7 @@ public final class UserConnection implements ProxiedPlayer getName(), BaseComponent.toLegacyText( reason ) } ); - ch.delayedClose( new Kick( ComponentSerializer.toString( reason ) ) ); + ch.close( new Kick( ComponentSerializer.toString( reason ) ) ); if ( server != null ) {