This commit is contained in:
parent
c46b14b92c
commit
4363315ec5
@ -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
|
||||
|
@ -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 )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user