Close #572 - kick event message

This commit is contained in:
md_5 2013-08-20 11:18:51 +10:00
parent 0840a77153
commit 1dcc8d6a4b

View File

@ -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 );