item manager: cache no price when unable to batch lookup

This commit is contained in:
Adam
2018-05-13 11:47:06 -04:00
parent aa35b2c218
commit 42005ffcea

View File

@@ -213,6 +213,12 @@ public class ItemManager
}
catch (Exception ex)
{
// cache unable to lookup
for (int itemId : lookup)
{
itemPriceCache.put(itemId, NONE);
}
future.completeExceptionally(ex);
}
});