assign

abstract fun assign(item: ItemStack, abilityId: String)

Saves abilityId on item.

Throws

if abilityId is blank or the item has no metadata.