SpoutDev/Spoutcraft — pull request #51 by Pamelloes (2011-12-17 19:07:04+00:00)
Title: GenericItemWidget now renders with a durability bar (if applicable). 

If GenericItemWidget implements a getAmount() method to determine how many items are in the ItemStack being rendered, then line 212 can be adjusted to read:
ItemStack is = new ItemStack(item.getTypeId(),item.getAmount(),item.getData());
to allow the amount to be rendered as well. I already have done this on my copy for testing purposes, so I can quickly put in a pull request if need be.