This commit is contained in:
md_5 2013-10-25 20:09:18 +11:00
parent 6e69d476ef
commit a7e4854661

View File

@ -255,7 +255,7 @@ public final class UserConnection implements ProxiedPlayer
if ( ch.getHandle().isActive() )
{
bungee.getLogger().log( Level.INFO, "[" + getName() + "] disconnected with: " + reason );
unsafe().sendPacket( new Kick( reason ) );
unsafe().sendPacket( new Kick( BungeeCord.getInstance().gson.toJson( reason ) ) );
ch.close();
if ( server != null )
{