Fix for death recap

This commit is contained in:
Tercio Jose
2024-05-11 20:32:12 -03:00
parent 33a0120881
commit 8edbcf823c
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
local dversion = 536
local dversion = 537
local major, minor = "DetailsFramework-1.0", dversion
local DF, oldminor = LibStub:NewLibrary(major, minor)
+2 -1
View File
@@ -634,7 +634,8 @@ hooksecurefunc (_G, "DeathRecap_LoadUI", function()
local format = Details:GetCurrentToKFunction()
if (Details.death_recap.enabled) then
if (Details:GetZoneType() == "party" or Details:GetZoneType() == "raid" and texture) then
if (type(spellName) == string and (Details:GetZoneType() == "party" or Details:GetZoneType() == "raid")) then
texture = texture or [[Interface\ICONS\INV_Misc_QuestionMark]]
local msgText = "|cFFAAAAFFDeath Recap (Blizzard):"
print(msgText, "|T" .. texture .. ":16:16:0:0:64:64:5:59:5:59|t", GetSpellLink(spellId) or spellName, format(_, amountDamage or 0))
end