diff --git a/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs b/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs index f6f136713f..c61afda440 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs @@ -291,7 +291,7 @@ namespace OpenSim.Region.Environment.Scenes /// Give an inventory item from one avatar to another /// /// - /// + /// ID of the sender of the item /// public void GiveInventoryItem(IClientAPI recipientClient, LLUUID senderId, LLUUID itemId) { @@ -320,7 +320,7 @@ namespace OpenSim.Region.Environment.Scenes // Insert a copy of the item into the recipient InventoryItemBase itemCopy = new InventoryItemBase(); itemCopy.avatarID = recipientClient.AgentId; - itemCopy.creatorsID = recipientClient.AgentId; + itemCopy.creatorsID = senderId; itemCopy.inventoryID = LLUUID.Random(); itemCopy.assetID = item.assetID; itemCopy.inventoryDescription = item.inventoryDescription;