v9.0.5.8357.144

This commit is contained in:
Tercio Jose
2021-03-15 15:33:29 -03:00
parent c6e17b199e
commit f0554a6336
11 changed files with 42 additions and 26 deletions
@@ -392,7 +392,8 @@ end
if (playerTable) then
local line = self:GetLine (i)
if (line) then
local thisPlayerInfo = playerInfo[playerTable.Name]
local thisPlayerInfo = playerInfo[playerTable.UnitNameRealm]
if (thisPlayerInfo) then
local playerCovenantId = thisPlayerInfo.covenantId
if (playerCovenantId > 0) then
@@ -406,7 +407,7 @@ end
end
--repair status
local thisPlayerGearInfo = gearInfo[playerTable.Name]
local thisPlayerGearInfo = gearInfo[playerTable.UnitNameRealm]
if (thisPlayerGearInfo) then
line.RepairStatus:SetText(thisPlayerGearInfo.durability .. "%")
else
@@ -639,6 +640,7 @@ end
for i = 1, iterateAmount do
local unitID = groupTypeID .. i
local unitName = UnitName (unitID)
local unitNameWithRealm = GetUnitName(unitID, true)
local cleuName = _detalhes:GetCLName (unitID)
local unitSerial = UnitGUID (unitID)
local _, unitClass, unitClassID = UnitClass (unitID)
@@ -652,6 +654,7 @@ end
tinsert (PlayerData, {unitName, unitClassID,
Name = unitName,
UnitNameRealm = unitNameWithRealm,
Class = unitClass,
Serial = unitSerial,
Role = unitRole,