mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-23 08:06:55 +00:00
28875d51de
Old versions of OmniCC doesn't check the existance of frame names of unknown
foreign objects before accessing them:
cooldown.textFrame.icon =
--standard action button icon, $parentIcon
getglobal(cooldown:GetParent():GetName() .. "Icon") or
--standard item button icon, $parentIconTexture
getglobal(cooldown:GetParent():GetName() .. "IconTexture") or
--discord action button, $parent_Icon
getglobal(cooldown:GetParent():GetName() .. "_Icon");
Code like this leads to errors such as: 'attempt to concatenate a nil value'.
By this commit every single debuff icon of the pfUI nameplates will now have
a frame name. That doesn't fix the OmniCC root cause, but makes at least the
pfUI/ShaguPlates no longer responsible for showing it up...