aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Environment')
-rw-r--r--OpenSim/Region/Environment/Scenes/Scene.Inventory.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs b/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs
index f6f1367..c61afda 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
291 /// Give an inventory item from one avatar to another 291 /// Give an inventory item from one avatar to another
292 /// </summary> 292 /// </summary>
293 /// <param name="recipientClient"></param> 293 /// <param name="recipientClient"></param>
294 /// <param name="sender"></param> 294 /// <param name="senderId">ID of the sender of the item</param>
295 /// <param name="itemId"></param> 295 /// <param name="itemId"></param>
296 public void GiveInventoryItem(IClientAPI recipientClient, LLUUID senderId, LLUUID itemId) 296 public void GiveInventoryItem(IClientAPI recipientClient, LLUUID senderId, LLUUID itemId)
297 { 297 {
@@ -320,7 +320,7 @@ namespace OpenSim.Region.Environment.Scenes
320 // Insert a copy of the item into the recipient 320 // Insert a copy of the item into the recipient
321 InventoryItemBase itemCopy = new InventoryItemBase(); 321 InventoryItemBase itemCopy = new InventoryItemBase();
322 itemCopy.avatarID = recipientClient.AgentId; 322 itemCopy.avatarID = recipientClient.AgentId;
323 itemCopy.creatorsID = recipientClient.AgentId; 323 itemCopy.creatorsID = senderId;
324 itemCopy.inventoryID = LLUUID.Random(); 324 itemCopy.inventoryID = LLUUID.Random();
325 itemCopy.assetID = item.assetID; 325 itemCopy.assetID = item.assetID;
326 itemCopy.inventoryDescription = item.inventoryDescription; 326 itemCopy.inventoryDescription = item.inventoryDescription;