From 993e89160a7ad1d70c1878562372800348b008ae Mon Sep 17 00:00:00 2001 From: Jake Date: Wed, 26 Feb 2025 13:59:44 +0100 Subject: [PATCH] Fixed Typo and slightly improved enum javadocs Keyword: slightly --- .../armorequipevent/ArmorEquipEvent.java | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/main/java/com/jeff_media/armorequipevent/ArmorEquipEvent.java b/src/main/java/com/jeff_media/armorequipevent/ArmorEquipEvent.java index e232b1d..973eedc 100644 --- a/src/main/java/com/jeff_media/armorequipevent/ArmorEquipEvent.java +++ b/src/main/java/com/jeff_media/armorequipevent/ArmorEquipEvent.java @@ -32,7 +32,7 @@ public final class ArmorEquipEvent extends PlayerEvent implements Cancellable { private ItemStack oldArmorPiece, newArmorPiece; /** - * Registers the listeners for this event. If you forget to call this method, then the event will never get caled. + * Registers the listeners for this event. If you forget to call this method, then the event will never get called. * @param plugin Plugin to call this event from */ public static void registerListener(JavaPlugin plugin) { @@ -166,23 +166,23 @@ public EquipMethod getMethod(){ */ public enum EquipMethod{// These have got to be the worst documentations ever. /** - * When you shift click an armor piece to equip or unequip + * When you shift click an armor piece to equip or unequip it. */ SHIFT_CLICK, /** - * When you drag and drop the item to equip or unequip + * When you drag and drop the item to equip or unequip it. */ DRAG, /** - * When you manually equip or unequip the item. Use to be DRAG + * When you manually equip or unequip the item. Use to be DRAG. */ PICK_DROP, /** - * When you right click an armor piece in the hotbar without the inventory open to equip. + * When you right click an armor piece in the hotbar without the inventory open to equip it. */ HOTBAR, /** - * When you press the hotbar slot number while hovering over the armor slot to equip or unequip + * When you press the hotbar slot number while hovering over the armor slot to equip or unequip it. */ HOTBAR_SWAP, /** @@ -195,8 +195,8 @@ public enum EquipMethod{// These have got to be the worst documentations ever. */ BROKE, /** - * When you die causing all armor to unequip + * When you die, causing all armor to be unequiped. */ DEATH, } -} \ No newline at end of file +}