Libs/oUF: Nameplates now have native UNIT events

This commit is contained in:
andrew6180
2024-04-19 09:05:53 -07:00
parent a5d90d5ed9
commit 0b4c66e6a2
24 changed files with 17 additions and 313 deletions
@@ -30,12 +30,6 @@ function UF:Configure_PVPIcon(frame)
end
function UF:UpdateOverridePvP(event, unit)
if unit and self.isNamePlate and unit:sub(1, 9) ~= "nameplate" then
local isUnit = self.unit and UnitIsUnit(self.unit, unit)
if isUnit then
unit = self.unit
end
end
if not unit or self.unit ~= unit then return end
local element = self.PvPIndicator