aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Environment/Modules/World/Land/LandManagementModule.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Modules/World/Land/LandManagementModule.cs b/OpenSim/Region/Environment/Modules/World/Land/LandManagementModule.cs
index 6ab5a57..77a31c7 100644
--- a/OpenSim/Region/Environment/Modules/World/Land/LandManagementModule.cs
+++ b/OpenSim/Region/Environment/Modules/World/Land/LandManagementModule.cs
@@ -595,7 +595,7 @@ namespace OpenSim.Region.Environment.Modules.World.Land
595 { 595 {
596 if (obj != null) 596 if (obj != null)
597 { 597 {
598 if (obj is SceneObjectGroup) 598 if ((obj is SceneObjectGroup) && ((SceneObjectGroup)obj).RootPart != null && !((SceneObjectGroup)obj).RootPart.IsAttachment)
599 { 599 {
600 m_scene.EventManager.TriggerParcelPrimCountAdd((SceneObjectGroup)obj); 600 m_scene.EventManager.TriggerParcelPrimCountAdd((SceneObjectGroup)obj);
601 } 601 }