mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 17:32:42 +08:00
Make single item inventory gives work across regions
This commit is contained in:
@@ -790,11 +790,11 @@ namespace OpenSim.Framework.Communications.Cache
|
||||
|
||||
if (m_commsManager.SecureInventoryService != null)
|
||||
{
|
||||
m_commsManager.SecureInventoryService.QueryItem(item, m_session_id);
|
||||
itemInfo = m_commsManager.SecureInventoryService.QueryItem(item, m_session_id);
|
||||
}
|
||||
else
|
||||
{
|
||||
m_commsManager.InventoryService.QueryItem(item);
|
||||
itemInfo = m_commsManager.InventoryService.QueryItem(item);
|
||||
}
|
||||
|
||||
if (itemInfo != null)
|
||||
|
||||
@@ -525,8 +525,6 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
itemCopy.SalePrice = item.SalePrice;
|
||||
itemCopy.SaleType = item.SaleType;
|
||||
|
||||
itemCopy.CreationDate = item.CreationDate;
|
||||
|
||||
recipientUserInfo.AddItem(itemCopy);
|
||||
|
||||
if (!Permissions.BypassPermissions())
|
||||
|
||||
Reference in New Issue
Block a user