Quantcast WoWInterface - View Single Post - [PTR,7.1] Nameplate Color Change causes lua error in combat.
View Single Post
10-25-16, 07:17 AM   #11
Tercioo
An Aku'mai Servant
 
Tercioo's Avatar
AddOn Author - Click to view addons
Join Date: Aug 2014
Posts: 38
I can confirm that changing nearly any member of a blizzard nameplate is triggering protected errors.
This small snipped does trigger issues already:

C_Timer.NewTicker (1, function()
NamePlate1.UnitFrame.healthBar.r = 0
end)

We could just use "NamePlate1.UnitFrame.healthBar:SetStatusBarColor (1, 0, 0)" but without changing the .r .g .b values the blizzard nameplate addon will "think" the color is the same and won't trigger color changes by it self due to that.