Event Priority Across Plugins

Discussion in 'Plugin Development' started by Smeary_Subset, Nov 26, 2022.

Thread Status:
Not open for further replies.
  1. Offline

    Smeary_Subset

    How can I make event priorities work across plugins? I have one plugin called SurvivalEnhancer that allows players to throw fire charges using PlayerInteractEvent. I also have a minigame plugin that allows players to do the same, except if a player is holding a fire charge while the game is loading, the game is supposed to prevent the player from interacting/throwing the fire charge but it doesn't because the SurvivalEnhancer listener always takes priority.

    Despite trying all sorts of combinations with the event priorities, the SurvivalEnhancer listener always seems to get the final say over the minigame's listener. How can I prevent this? Thank you,
     
  2. Offline

    Kars

Thread Status:
Not open for further replies.

Share This Page