{
return;
}
try
{
GameServerBasePacket packet;
byte[] data;
synchronized(sendPacketQueue)
{
while((packet = sendPacketQueue.poll()) != null)
{
data = packet.getBytes();
if(!(packet instanceof l2p.gameserver.loginservercon.gspackets.BlowFishKey))
{
data = att.encrypt(data);
}
data = Util.writeLenght(data);
channel.write(ByteBuffer.wrap(data));
if(Config.DEBUG_GS_LS)
{
log.info("GameServer -> LoginServer: Sending packet: " + packet.getClass().getSimpleName());
}
}
}
}
catch(Exception e)