item manager: fix trying to cache null in getItemPrice
This commit is contained in:
@@ -142,6 +142,12 @@ public class ItemManager
|
||||
}
|
||||
|
||||
itemPrice = itemClient.lookupItemPrice(itemId);
|
||||
if (itemPrice == null)
|
||||
{
|
||||
itemPrices.put(itemId, NONE);
|
||||
return null;
|
||||
}
|
||||
|
||||
itemPrices.put(itemId, itemPrice);
|
||||
return itemPrice;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user