mirror of
https://github.com/opensim/opensim.git
synced 2026-05-15 11:25:39 +08:00
Fox a null ref in the inventory give module
This commit is contained in:
@@ -786,6 +786,9 @@ namespace OpenSim.Framework.Communications.Cache
|
||||
return true;
|
||||
}
|
||||
|
||||
item = new InventoryItemBase();
|
||||
item.ID = itemID;
|
||||
|
||||
InventoryItemBase itemInfo = m_commsManager.InventoryService.QueryItem(item);
|
||||
if (itemInfo != null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user