diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/AsyncInventorySender.cs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/OpenSim/Region/Framework/Scenes/AsyncInventorySender.cs b/OpenSim/Region/Framework/Scenes/AsyncInventorySender.cs index d9d2e64..4362e28 100644 --- a/OpenSim/Region/Framework/Scenes/AsyncInventorySender.cs +++ b/OpenSim/Region/Framework/Scenes/AsyncInventorySender.cs | |||
@@ -143,8 +143,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
143 | // m_log.DebugFormat( | 143 | // m_log.DebugFormat( |
144 | // "[ASYNC INVENTORY SENDER]: Handling request from {0} for {1} on queue", fh.Client.Name, fh.ItemID); | 144 | // "[ASYNC INVENTORY SENDER]: Handling request from {0} for {1} on queue", fh.Client.Name, fh.ItemID); |
145 | 145 | ||
146 | InventoryItemBase item = new InventoryItemBase(fh.ItemID, fh.Client.AgentId); | 146 | InventoryItemBase item = m_scene.InventoryService.GetItem(fh.Client.AgentId, fh.ItemID); |
147 | item = m_scene.InventoryService.GetItem(item); | ||
148 | 147 | ||
149 | if (item != null) | 148 | if (item != null) |
150 | fh.Client.SendInventoryItemDetails(item.Owner, item); | 149 | fh.Client.SendInventoryItemDetails(item.Owner, item); |
@@ -153,4 +152,4 @@ namespace OpenSim.Region.Framework.Scenes | |||
153 | } | 152 | } |
154 | } | 153 | } |
155 | } | 154 | } |
156 | } \ No newline at end of file | 155 | } |