Division by zero fix
This commit is contained in:
@@ -173,6 +173,7 @@ end
|
||||
local spellIcon = GetSpellTexture(cooldownFrame.spellId)
|
||||
if (spellIcon) then
|
||||
cooldownFrame:SetIcon(spellIcon, .1, .9, .1, .9)
|
||||
|
||||
local classColor = C_ClassColor.GetClassColor(cooldownFrame.class)
|
||||
cooldownFrame:SetStatusBarColor(classColor.r, classColor.g, classColor.b)
|
||||
cooldownFrame:SetLeftText(DF:RemoveRealmName(cooldownFrame.unitName))
|
||||
|
||||
@@ -53,14 +53,13 @@ function Details:Dump (...)
|
||||
return
|
||||
else
|
||||
if (type(t) == "table") then
|
||||
local s = Details.table.dump(t)
|
||||
local s = DetailsFramework.table.dump(t)
|
||||
DetailsDumpFrame.Editbox:SetText(s)
|
||||
else
|
||||
t = {...}
|
||||
local s = DetailsFramework.table.dump(t)
|
||||
DetailsDumpFrame.Editbox:SetText(s)
|
||||
end
|
||||
|
||||
local s = Details.table.dump(t)
|
||||
DetailsDumpFrame.Editbox:SetText(s)
|
||||
end
|
||||
|
||||
DetailsDumpFrame:Show()
|
||||
|
||||
Reference in New Issue
Block a user