SirBlobman / CooldownsX

A plugin that adds configurable cooldowns to items.
https://www.spigotmc.org/resources/41981/
4 stars 11 forks source link

Health potions do not trigger cooldown #35

Closed Parthodys closed 1 year ago

Parthodys commented 1 year ago

Using health potions does not trigger a cooldown under:

  cooldown-type: POTION
  potion-effect:
    - HEAL
  material:
    - SPLASH_POTION
    - LINGERING_POTION
    - POTION

If this cooldown is triggered by other potions, it will add a cooldown even for health potions, but using health potions never activates it. This would be important to fix because currently it is not possible to make an 'all-in-one' cooldown for potions, and health potions are the most important one to have a cooldown for PvP wise.

Only the POTION_THROW option seems to trigger health potion cooldowns properly, but this only applies to Splash Potions, which is not enough as players would just use normal potions then.

Parthodys commented 1 year ago

37 Fixes the basic Health Potion cooldown successfully.

Splash and Lingering Health Potions however still cannot trigger a cooldown.