Fix for death recap
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
|
||||
|
||||
local dversion = 536
|
||||
local dversion = 537
|
||||
local major, minor = "DetailsFramework-1.0", dversion
|
||||
local DF, oldminor = LibStub:NewLibrary(major, minor)
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user