Fixed a call in the API 2.0 using a deprecated call from the Open Raid Library
This commit is contained in:
parent
3afc9ce24d
commit
d4f50e7cb7
5 changed files with 87 additions and 23 deletions
|
|
@ -512,7 +512,7 @@ function Details.UnitInfo (unitId, segment)
|
|||
|
||||
local openRaidLib = LibStub:GetLibrary("LibOpenRaid-1.0")
|
||||
if (openRaidLib) then
|
||||
playerInfo = openRaidLib.playerInfoManager.GetPlayerInfo(unitName)
|
||||
playerInfo = openRaidLib.GetUnitInfo(unitName)
|
||||
end
|
||||
|
||||
unitInfo.class = playerObject.classe or class or "UNKNOW"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue