diff --git a/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs b/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs index cbb3a7d71b..49d229da58 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs @@ -1054,11 +1054,12 @@ namespace OpenSim.Region.Environment.Scenes userInfo.AddItem(item); remoteClient.SendInventoryItemCreateUpdate(item); } + } - if (permissionToDelete) - { - DeleteSceneObjectGroup(objectGroup); - } + + if (permissionToDelete) + { + DeleteSceneObjectGroup(objectGroup); } } }