Fox a null ref in the inventory give module

0.6.5-rc1
Melanie Thielker 2009-03-22 15:19:43 +00:00
parent ea1e38dd14
commit 73a982babe
1 changed files with 3 additions and 0 deletions

View File

@ -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)
{