WoWInterface - View Single Post - Event for switching talents?
View Single Post
08-09-17, 11:59 PM   #15
A Flamescale Wyrmkin
Galaxy119's Avatar
AddOn Author - Click to view addons
Join Date: Aug 2014
Posts: 111
Originally Posted by SDPhantom View Post
What happens add this at the top of the function?
max = max or 0
This will force max to be zero if nil is passed.
This does solve the lua error, however the visual artifacts remain (the green statusbars on the target and target's target, aswell as no unitframe textures for the target, all unit frames have all raid icons above their head simultaneously, etc. (the stuff pictured in the screenshot)
Now I'm not entierly convinced the visual issue with the statusbars is related to this error, disabling the player's frame entierly doesn't seem to affect the issue, and removing thatline while using the older version of oUF doesn't either, so now I'm super confused.

Yay for things breaking without errors!
My Addons | "If someone says something is impossible, they either lack imagination, or lack determination."

Last edited by Galaxy119 : 08-10-17 at 12:02 AM.
  Reply With Quote