I'm not sure that code is doing what you think it's doing.... you're calling Enable and Disable on the boss frames, which is (a) not what I think anyone in this thread is trying to do, and (b) not allowed in combat, so you can't just do it when the frames are hidden/shown, since you may be in combat when that happens.
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.
|