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:
'POTION:GLOWING:1:20000 @Victim'
'POTION:STRENGTH:7:20000 @Victim'
'POTION:REGENERATION:7:20000 @Victim'
'POTION:SATURATION:7:20000 @Victim'
'POTION:RESISTANCE:3:20000 @Victim'
'POTION:HEALTH_BOOST:750:20000 @Victim'
'EXPLODE:10:true:false @Victim'
'EXPLODE:15:true:false @Victim'
'POTION:SPEED:3:20000 @Victim'
'POTION:NIGHT_VISION:3:20000 @Victim'
'POTION:WATER_BREATHING:3:20000 @Victim'
'PLAYER_COMMAND:pp group load SuperSaiyan @Victim'
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
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