item manager: fix trying to cache null in getItemPrice

This commit is contained in:
Adam
2018-01-29 13:54:05 -05:00
parent 06fc579ef2
commit 1a97d56ef0

View File

@@ -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;
}