mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 16:22:50 +08:00
avoid a null ref
This commit is contained in:
@@ -768,7 +768,7 @@ namespace OpenSim.Region.CoreModules.World.Objects.Commands
|
||||
else
|
||||
so = m_scene.GetSceneObjectGroup(localId);
|
||||
|
||||
if (!so.IsAttachment)
|
||||
if (so!= null && !so.IsAttachment)
|
||||
deletes.Add(so);
|
||||
|
||||
// if (deletes.Count == 0)
|
||||
|
||||
Reference in New Issue
Block a user