ArmorEquipEvent icon indicating copy to clipboard operation
ArmorEquipEvent copied to clipboard

ArmourEquipEvent - Improvment

Open Bedlessdeus opened this issue 2 years ago • 0 comments

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

Bedlessdeus avatar Jun 28 '23 19:06 Bedlessdeus