diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Scene.Inventory.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.Inventory.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs index 83990b1..1746cfe 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs | |||
@@ -1105,6 +1105,10 @@ namespace OpenSim.Region.Framework.Scenes | |||
1105 | { | 1105 | { |
1106 | SceneObjectPart part = GetSceneObjectPart(primLocalId); | 1106 | SceneObjectPart part = GetSceneObjectPart(primLocalId); |
1107 | 1107 | ||
1108 | // Can't move a null item | ||
1109 | if (itemId == UUID.Zero) | ||
1110 | return; | ||
1111 | |||
1108 | if (null == part) | 1112 | if (null == part) |
1109 | { | 1113 | { |
1110 | m_log.WarnFormat( | 1114 | m_log.WarnFormat( |