This version includes three new API methods for getting and setting a CustomItem's durability:
Code (Java):
public
static
Integer getCustomItemDamage
(ItemStack stack
)
public
static
Integer getCustomItemMaxDamage
(ItemStack stack
)
public
static ItemStack setCustomItemDamage
(ItemStack stack,
int amount
)
Check the JavaDocs on the API methods for more info