From 85c27f30eec165886809d820c69336759cddb548 Mon Sep 17 00:00:00 2001 From: md_5 Date: Sat, 7 Dec 2013 09:31:17 +1100 Subject: [PATCH] Properly abort kicks on ServerConnector --- proxy/src/main/java/net/md_5/bungee/ServerConnector.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proxy/src/main/java/net/md_5/bungee/ServerConnector.java b/proxy/src/main/java/net/md_5/bungee/ServerConnector.java index 67ac00ab..f3c3e93f 100644 --- a/proxy/src/main/java/net/md_5/bungee/ServerConnector.java +++ b/proxy/src/main/java/net/md_5/bungee/ServerConnector.java @@ -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();