Fixed a call in the API 2.0 using a deprecated call from the Open Raid Library
This commit is contained in:
+1
-1
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user