TBC issues with lib open raid

This commit is contained in:
Tercio Jose
2022-05-04 19:28:12 -03:00
parent 3d2dea9086
commit 51030c5ef8
7 changed files with 33 additions and 21 deletions
+6 -4
View File
@@ -10,7 +10,7 @@ do
local _select = select
local _unpack = unpack
local openRaidLib = LibStub:GetLibrary("LibOpenRaid-1.0")
local openRaidLib = LibStub:GetLibrary("LibOpenRaid-1.0", true)
local unknown_class_coords = {0.75, 1, 0.75, 1}
@@ -260,9 +260,11 @@ do
function Details:GetUnitId(unitName)
unitName = unitName or self.nome
local unitId = openRaidLib.GetUnitID(unitName)
if (unitId) then
return unitId
if (openRaidLib) then
local unitId = openRaidLib.GetUnitID(unitName)
if (unitId) then
return unitId
end
end
if (IsInRaid()) then