protected void AvatarGroupsReplyHandler(Object sender, PacketReceivedEventArgs e) throws UnsupportedEncodingException
{
if (onAvatarGroupsReply != null)
{
Packet packet = e.getPacket();
AvatarGroupsReplyPacket groups = (AvatarGroupsReplyPacket)packet;
List<AvatarGroup> avatarGroups = new ArrayList<AvatarGroup>(groups.GroupData.length);
for (int i = 0; i < groups.GroupData.length; i++)
{
AvatarGroup avatarGroup = new AvatarGroup();