http-api: modify ItemPrice to contain id/name instead of Item

This commit is contained in:
Adam
2018-10-07 12:43:22 -04:00
parent 7223d3436d
commit 7adca5bda2
4 changed files with 10 additions and 16 deletions
@@ -152,7 +152,7 @@ public class ItemManager
ImmutableMap.Builder<Integer, ItemPrice> map = ImmutableMap.builderWithExpectedSize(prices.length);
for (ItemPrice price : prices)
{
map.put(price.getItem().getId(), price);
map.put(price.getId(), price);
}
itemPrices = map.build();
}