mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 17:55:48 +08:00
Small fix for a spurious exception
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user