GC-spigot / AdvancedEnchantments

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

Bypass of effect commands on armour #4272

Closed Vasito1 closed 1 month ago

Vasito1 commented 1 month ago

Describe the bug

We have an enchant that when activated gives the user a skill boost through our skills plugin. It is supposed to last for a few mins then deactivate and remove the skill boost. However when the user removes the armor that has the enchant applied after the enchant activates they will keep the boosts infinitely.

Here is the effects of the enchant:

effects:

How to reproduce

Create an enchant for amor using the effects above. After the enchant activates remove the armor and you will keep the skill boosts

Screenshots / Videos

No response

"/ae plinfo" link

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

Server Log

No response

ThomasWega commented 1 month ago

What's the code for you plugin? Also send the whole enchantment please. If you apply some external skills from a different plugins you may need to handle the removal yourself