diff options
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/CM_Api.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/CM_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/CM_Api.cs index 9f829da..4f1e9f7 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/CM_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/CM_Api.cs | |||
@@ -94,7 +94,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
94 | LSL_List result = new LSL_List(); | 94 | LSL_List result = new LSL_List(); |
95 | foreach (ScenePresence avatar in World.GetAvatars()) | 95 | foreach (ScenePresence avatar in World.GetAvatars()) |
96 | { | 96 | { |
97 | if (avatar.UUID != m_host.OwnerID) | 97 | if (avatar != null && avatar.UUID != m_host.OwnerID) |
98 | { | 98 | { |
99 | if (avatar.IsChildAgent == false) | 99 | if (avatar.IsChildAgent == false) |
100 | { | 100 | { |