refactor: minor cleanup in osGetAvatarList()

user_profiles
Justin Clark-Casey (justincc) 2013-03-14 23:19:18 +00:00
parent 0ea0f8aa83
commit 2fbc08d7dd
1 changed files with 1 additions and 2 deletions

View File

@ -3100,8 +3100,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
if (avatar != null && avatar.UUID != m_host.OwnerID)
{
result.Add(new LSL_String(avatar.UUID.ToString()));
OpenMetaverse.Vector3 ap = avatar.AbsolutePosition;
result.Add(new LSL_Vector(ap.X, ap.Y, ap.Z));
result.Add(new LSL_Vector(avatar.AbsolutePosition));
result.Add(new LSL_String(avatar.Name));
}
});