From 1dcc8d6a4b4657180ab83cbc8c61623fdd4457bf Mon Sep 17 00:00:00 2001 From: md_5 Date: Tue, 20 Aug 2013 11:18:51 +1000 Subject: [PATCH] Close #572 - kick event message --- 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 e3d31247..e7e8bc04 100644 --- a/proxy/src/main/java/net/md_5/bungee/ServerConnector.java +++ b/proxy/src/main/java/net/md_5/bungee/ServerConnector.java @@ -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 );