I've been playing around with EnchantmentAPI for a bit, and I've found that if I hold an armor piece with an enchantment, the applyOnEquip effect happens. Maybe, there could be an option of saying for an effect to happen only if it's on the armor, and not in hand.