if(client._reader!=null)
opcode = client._reader.read(buf);
else
opcode = buf.get() & 0xff;
L2GameClientPacket msg = null;
GameClientState state = client.getState();
if(Config.DEBUG_PACKETS){
Log.add("Packet: " + Integer.toHexString(opcode) + " on State: " + state.name() + " Client: " + client.toString(), "GamePacketsLog");
}
switch(state)
{
case CONNECTED: