GC-spigot / AdvancedEnchantments

Superior Custom Enchantments Creator for Minecraft And Spigot platform
153 stars 61 forks source link

ArmorEquipEvent #4555

Closed Latestion closed 2 months ago

Latestion commented 2 months ago

Describe the bug

  1. Cancelling ArmorEquipEvent does not work
  2. AE should not be handling the sub events ( InventoryClickEvent, PlayerInteractEvent ) -> if they are already cancelled, this removes the scope of other plugins work together.

The reason: Cancelling the ArmorEquip still gives players BUFFS/DE-BUFFS.

How to reproduce

Wear any armor which gives you an potion effect cancel the event and it will still give you the buffs

Screenshots / Videos

No response

"/ae plinfo" link

https://paste.md-5.net/vameneruva

Server Log

No response

GC-spigot commented 2 months ago

What ArmorEquipEvent are you cancelling? We have our own internal one, not any paper one etc.

Latestion commented 2 months ago

What ArmorEquipEvent are you cancelling? We have our own internal one, not any paper one etc.

The one provided by AE

ThomasWega commented 2 months ago

Should be fixed in the next update