refactor: minor cleanup in osGetAvatarList()
parent
9f1aac82b2
commit
3098ad4ab9
|
@ -3025,8 +3025,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||||
if (avatar != null && avatar.UUID != m_host.OwnerID)
|
if (avatar != null && avatar.UUID != m_host.OwnerID)
|
||||||
{
|
{
|
||||||
result.Add(new LSL_String(avatar.UUID.ToString()));
|
result.Add(new LSL_String(avatar.UUID.ToString()));
|
||||||
OpenMetaverse.Vector3 ap = avatar.AbsolutePosition;
|
result.Add(new LSL_Vector(avatar.AbsolutePosition));
|
||||||
result.Add(new LSL_Vector(ap.X, ap.Y, ap.Z));
|
|
||||||
result.Add(new LSL_String(avatar.Name));
|
result.Add(new LSL_String(avatar.Name));
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue