Thanks so much for the response. It doesn't seem to work. All auras reset to default. Also, to clarify, I'd like my personal resource display to show whitelisted auras as well. I only want to ignore non-self friendly nameplates.
I replaced that function with:
Lua Code:
local function Mixin(baseFrame)
if UnitIsFriend(baseFrame.UnitFrame.unit, "player") and not UnitIsUnit(baseFrame.UnitFrame.unit, "player")then return end
baseFrame.UnitFrame.BuffFrame.ShouldShowBuff = newShouldShowBuff
end
It works for a bit, but then it starts filtering friendly nameplates again. I'm working on it, but not much luck.