diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs index c50809f..c3d70ea 100644 --- a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs +++ b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs | |||
@@ -643,6 +643,16 @@ namespace OpenSim.Region.Environment.Scenes | |||
643 | 643 | ||
644 | } | 644 | } |
645 | 645 | ||
646 | public int RemoveInventoryItem(IClientAPI remoteClient, uint localID, LLUUID itemID) | ||
647 | { | ||
648 | SceneObjectPart part = this.GetChildPart(localID); | ||
649 | if (part != null) | ||
650 | { | ||
651 | return part.RemoveInventoryItem(remoteClient, localID, itemID); | ||
652 | } | ||
653 | return -1; | ||
654 | } | ||
655 | |||
646 | /// <summary> | 656 | /// <summary> |
647 | /// | 657 | /// |
648 | /// </summary> | 658 | /// </summary> |