improve DRData nil-checking error message
This commit is contained in:
@ -650,6 +650,7 @@ function Diminishings:GetDRIcons(category)
|
|||||||
icons[icon] = format("|T%s:20|t %s", tostring(icon or "nil"), tostring(select(1, GetSpellInfo(k)) or "nil"))
|
icons[icon] = format("|T%s:20|t %s", tostring(icon or "nil"), tostring(select(1, GetSpellInfo(k)) or "nil"))
|
||||||
else
|
else
|
||||||
print("Gladdy Diminishings.lua: nil icon for key: "..tostring(k or "nil").."; value: "..tostring(v or "nil"))
|
print("Gladdy Diminishings.lua: nil icon for key: "..tostring(k or "nil").."; value: "..tostring(v or "nil"))
|
||||||
|
print("Gladdy: Do you have a conflicting and incorrect copy of DRData?")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Reference in New Issue
Block a user