ArmorEquipEvent
ArmorEquipEvent copied to clipboard
ArmourEquipEvent - Improvment
Add an Enum that tells you what type of event it is
public enum ACTION {
EQUIP,
UNEQUIP;
}
@EventHandler
public void onArmourEquipEvent(ArmourEquipEvent event){
if (event.ACTION != UNEQUIP) return;
}
You could also add an ArmourUnequipEvent