Peterodox / YUI-Dialogue

World of Warcraft Dialogue UI Add-On
https://www.curseforge.com/wow/addons/dialogueui
24 stars 7 forks source link

Conflict with Interactive Wormholes #26

Closed p3lim closed 4 months ago

p3lim commented 6 months ago

Hey, this addon seems to be conflicting with my addon: https://github.com/p3lim-wow/InteractiveWormholes/issues/68

If you want to work together on a solution let me know. In essence my addon overrides the behavior when certain gossip options are present during GOSSIP_SHOW, just like yours, and I see no way of hooking into your addon to prevent it from colliding.

What I can do is expose an API in front of my database so you can stop processing if both my addon is loaded and this API returns true. I would in that case expose it as InteractiveWormholes:IsActive(), callable between GOSSIP_SHOW and GOSSIP_CLOSED, and you could use it like this:

if InteractiveWormholes and InteractiveWormholes:IsActive() then
  return
end
Peterodox commented 4 months ago

Hi! Thank you for providing the API. The two addons are compatible now 🥳