Quantcast WoWInterface - View Single Post - [PTR,7.1] Nameplate Color Change causes lua error in combat.
View Single Post
10-12-16, 07:17 PM   #7
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
Also, you cannot do this:

Code:
frame.healthBar.r, frame.healthBar.g, frame.healthBar.b = r, g, b
If you do, then your (insecure) values get read into Blizzard (secure) code and introduce taint, which breaks All The Things.
__________________
Author/maintainer of Grid, PhanxChat, oUF_Phanx, and many more.
Troubleshoot an addonTurn any code into an addonMore addon resources
Need help with your code? Post all of your actual code! Attach or paste your files.
Please don’t PM me about addon bugs or code questions. Post a comment or forum thread instead!