Undo kick changes

This commit is contained in:
md_5 2013-10-27 21:41:10 +11:00
parent e6c1015027
commit 2117a6b7de

View File

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