- added generic custom health and mana bars so that users can monitor any unit they want complete with click-targeting/-casting

This commit is contained in:
Parnic
2010-07-26 03:13:03 +00:00
parent b2bedc381b
commit 863e150a34
8 changed files with 440 additions and 8 deletions

View File

@ -58,7 +58,7 @@ end
function IceBarElement.prototype:RegisterFontStrings()
if DogTag ~= nil and self.moduleSettings.usesDogTagStrings then
if DogTag ~= nil and self.moduleSettings ~= nil and self.moduleSettings.usesDogTagStrings then
if self.frame.bottomUpperText and self.moduleSettings.upperText then
DogTag:AddFontString(self.frame.bottomUpperText, self.frame, self.moduleSettings.upperText, "Unit", { unit = self.unit })
end