ServerInfo def = bungee.getServerInfo( user.getPendingConnection().getListener().getFallbackServer() );
if ( Objects.equals( target, def ) )
{
def = null;
}
ServerKickEvent event = bungee.getPluginManager().callEvent( new ServerKickEvent( user, target, ComponentSerializer.parse( kick.getMessage() ), def, ServerKickEvent.State.CONNECTING ) );
if ( event.isCancelled() && event.getCancelServer() != null )
{
user.connect( event.getCancelServer() );
throw CancelSendSignal.INSTANCE;
}
String message = bungee.getTranslation( "connect_kick", target.getName(), event.getKickReason() );
if ( user.isDimensionChange() )
{
user.disconnect( message );
} else
{