diff options
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/Scene.Inventory.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Scene.Inventory.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs b/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs index 733392f..0ebdf69 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs | |||
@@ -439,7 +439,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
439 | // Insert a copy of the item into the recipient | 439 | // Insert a copy of the item into the recipient |
440 | InventoryItemBase itemCopy = new InventoryItemBase(); | 440 | InventoryItemBase itemCopy = new InventoryItemBase(); |
441 | itemCopy.Owner = recipientClient.AgentId; | 441 | itemCopy.Owner = recipientClient.AgentId; |
442 | itemCopy.Creator = senderId; | 442 | itemCopy.Creator = item.Creator; |
443 | itemCopy.ID = UUID.Random(); | 443 | itemCopy.ID = UUID.Random(); |
444 | itemCopy.AssetID = item.AssetID; | 444 | itemCopy.AssetID = item.AssetID; |
445 | itemCopy.Description = item.Description; | 445 | itemCopy.Description = item.Description; |
@@ -477,8 +477,8 @@ namespace OpenSim.Region.Environment.Scenes | |||
477 | itemCopy.EveryOnePermissions = item.EveryOnePermissions & item.NextPermissions; | 477 | itemCopy.EveryOnePermissions = item.EveryOnePermissions & item.NextPermissions; |
478 | itemCopy.BasePermissions = item.BasePermissions; | 478 | itemCopy.BasePermissions = item.BasePermissions; |
479 | } | 479 | } |
480 | itemCopy.GroupID = item.GroupID; | 480 | itemCopy.GroupID = UUID.Zero; |
481 | itemCopy.GroupOwned = item.GroupOwned; | 481 | itemCopy.GroupOwned = false; |
482 | itemCopy.Flags = item.Flags; | 482 | itemCopy.Flags = item.Flags; |
483 | itemCopy.SalePrice = item.SalePrice; | 483 | itemCopy.SalePrice = item.SalePrice; |
484 | itemCopy.SaleType = item.SaleType; | 484 | itemCopy.SaleType = item.SaleType; |