mirror of
https://github.com/SpigotMC/BungeeCord.git
synced 2024-11-24 03:05:49 +01:00
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