}
}
int x = 322, y = 220;
for(Entry<ITEM, Integer> entry : list.entrySet())
{
ITEM item = entry.getKey();
int quantity = entry.getValue();
item.getIcon().draw(x, y);
if (quantity > 1)
Text.drawString(20, x+12, y+12, ""+quantity, Color.red);
x += 24;
if (x >= 586)
{