mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 01:35:46 +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;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
item = new InventoryItemBase();
|
||||||
|
item.ID = itemID;
|
||||||
|
|
||||||
InventoryItemBase itemInfo = m_commsManager.InventoryService.QueryItem(item);
|
InventoryItemBase itemInfo = m_commsManager.InventoryService.QueryItem(item);
|
||||||
if (itemInfo != null)
|
if (itemInfo != null)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user