Properly abort kicks on ServerConnector
This commit is contained in:
parent
0446351f9d
commit
85c27f30ee
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user