fix for "Unknown Item"

This commit is contained in:
Tercio Jose
2023-05-12 11:44:42 -03:00
parent 2c65744f51
commit 5ff4cecadb
2 changed files with 9 additions and 9 deletions
+3 -1
View File
@@ -4557,7 +4557,7 @@ function damageClass:MontaInfoDamageDone() --I guess this fills the list of spel
---@type number, spelltable
for spellId, spellTable in pairs(actorSpells) do
spellTable.ChartData = nil
spellTable.ChartData = nil --~ChartData
---@type string
local spellName = _GetSpellInfo(spellId)
@@ -5365,6 +5365,8 @@ function damageClass:BuildSpellDetails(spellBar, spellBlockContainer, blockIndex
blockLine3.rightText:SetText(Loc ["STRING_DPS"] .. ": " .. Details:CommaValue(spellTable.c_total / critTempoPercent))
end
if (trinketData[spellId]) then
---@type trinketdata
local trinketInfo = trinketData[spellId]