Sponge icon indicating copy to clipboard operation
Sponge copied to clipboard

ChangeEntityPotionEffectEvent is not triggering

Open simonerighi96 opened this issue 4 years ago • 5 comments

I am currently running

  • SpongeForge version: 7.2.0
  • Plugins/Mods: none

Issue Description The Event ChangeEntityPotionEffectEvent never gets triggered. I tried with every sub-event, none of them are triggering when a potion effect is added to a living entity.

@Listener(order = Order.FIRST, beforeModifications = true)
    public void onPotionChange(ChangeEntityPotionEffectEvent.Gain event) {

        plugin.getLogger().info("Potion effect gained");

}

simonerighi96 avatar Apr 18 '20 11:04 simonerighi96

Able to reproduce. It hasn't been implemented.

ImMorpheus avatar Apr 18 '20 12:04 ImMorpheus

Any update on this? Still would like to be able to use this event 😄

Column01 avatar Mar 19 '21 18:03 Column01

As far as I can tell this is still an issue and a somewhat major oversight IMO

Column01 avatar Dec 09 '23 22:12 Column01

API 7 is no longer supported.

zml2008 avatar Dec 09 '23 22:12 zml2008

I'm aware of that, but I couldn't find it even in the latest versions, the event is missing (at least under this name)

Column01 avatar Dec 09 '23 23:12 Column01