Originally Posted by Tercioo
UnitDetailedThreatSituation isn't working with the unitid "nameplatepet".
|
Reported that several times during the demon invasion testing. I guess they haven't got around to it. Funny seeing how many times that has been posted in the bug forum.
Perhaps they need to just bring it online with other parts of FrameXML/CompactUnitFrame.lua
Code:
function CompactUnitFrame_IsOnThreatListWithPlayer(unit)
local _, threatStatus = UnitDetailedThreatSituation("player", unit);
return IsOnThreatList(threatStatus);
end
Perhaps should be
Code:
function CompactUnitFrame_IsOnThreatListWithPlayer(frame)
local _, threatStatus = UnitDetailedThreatSituation("player", frame.displayedUnit);
return IsOnThreatList(threatStatus);
end