aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Environment')
-rw-r--r--OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs
index f24e6fb..ca62b6d 100644
--- a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs
+++ b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs
@@ -1163,7 +1163,8 @@ namespace OpenSim.Region.Environment.Scenes
1163 ILandObject parcel = m_scene.LandChannel.GetLandObject( 1163 ILandObject parcel = m_scene.LandChannel.GetLandObject(
1164 m_rootPart.GroupPosition.X, m_rootPart.GroupPosition.Y); 1164 m_rootPart.GroupPosition.X, m_rootPart.GroupPosition.Y);
1165 1165
1166 if (parcel.landData.OtherCleanTime != 0) 1166 if (parcel != null && parcel.landData != null &&
1167 parcel.landData.OtherCleanTime != 0)
1167 { 1168 {
1168 if (parcel.landData.OwnerID != OwnerID && 1169 if (parcel.landData.OwnerID != OwnerID &&
1169 (parcel.landData.GroupID != GroupID || 1170 (parcel.landData.GroupID != GroupID ||