diff options
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/CoreModules/World/Objects/Commands/ObjectCommandsModule.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/World/Objects/Commands/ObjectCommandsModule.cs b/OpenSim/Region/CoreModules/World/Objects/Commands/ObjectCommandsModule.cs index e77f0aa..e65f860 100644 --- a/OpenSim/Region/CoreModules/World/Objects/Commands/ObjectCommandsModule.cs +++ b/OpenSim/Region/CoreModules/World/Objects/Commands/ObjectCommandsModule.cs | |||
@@ -768,7 +768,7 @@ namespace OpenSim.Region.CoreModules.World.Objects.Commands | |||
768 | else | 768 | else |
769 | so = m_scene.GetSceneObjectGroup(localId); | 769 | so = m_scene.GetSceneObjectGroup(localId); |
770 | 770 | ||
771 | if (!so.IsAttachment) | 771 | if (so!= null && !so.IsAttachment) |
772 | deletes.Add(so); | 772 | deletes.Add(so); |
773 | 773 | ||
774 | // if (deletes.Count == 0) | 774 | // if (deletes.Count == 0) |