Small fix for a spurious exception

avinationmerge
Melanie 2010-01-29 16:50:00 +00:00
parent 9e37d24624
commit 0c5850237e
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ namespace OpenSim.Region.Framework.Scenes
foreach (EntityBase e in m_presence.Scene.Entities)
{
if (e is SceneObjectGroup)
if (e != null && e is SceneObjectGroup)
m_pendingObjects.Enqueue((SceneObjectGroup)e);
}
}