Close #572 - kick event message
This commit is contained in:
parent
0840a77153
commit
1dcc8d6a4b
@ -263,7 +263,7 @@ public class ServerConnector extends PacketHandler
|
||||
return;
|
||||
}
|
||||
|
||||
String message = bungee.getTranslation( "connect_kick" ) + target.getName() + ": " + kick.getMessage();
|
||||
String message = bungee.getTranslation( "connect_kick" ) + target.getName() + ": " + event.getKickReason();
|
||||
if ( user.getServer() == null )
|
||||
{
|
||||
user.disconnect( message );
|
||||
|
Loading…
Reference in New Issue
Block a user