Properly abort kicks on ServerConnector

This commit is contained in:
md_5 2013-12-07 09:31:17 +11:00
parent 0446351f9d
commit 85c27f30ee

View File

@ -215,7 +215,7 @@ public class ServerConnector extends PacketHandler
if ( event.isCancelled() && event.getCancelServer() != null )
{
user.connect( event.getCancelServer() );
return;
throw new CancelSendSignal();
}
String message = bungee.getTranslation( "connect_kick" ) + target.getName() + ": " + event.getKickReason();