Merge branch 'careminster-presence-refactor' of ssh://3dhosting.de/var/git/careminster into careminster-presence-refactor

avinationmerge
Melanie Thielker 2010-06-02 01:05:36 +02:00
commit 655f02b695
1 changed files with 6 additions and 3 deletions

View File

@ -125,9 +125,12 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
{ {
if (avatar.IsChildAgent == false) if (avatar.IsChildAgent == false)
{ {
result.Add(avatar.UUID); if (avatar.PhysicsActor != null && avatar.PhysicsActor.Position != null)
result.Add(avatar.PhysicsActor.Position); {
result.Add(avatar.Name); result.Add(avatar.UUID);
result.Add(avatar.PhysicsActor.Position);
result.Add(avatar.Name);
}
} }
} }
}); });