Totem Tag - help needed
View Single Post
12-16-13, 01:00 AM
Join Date: Mar 2006
Originally Posted by
... is there a reason ouf does not print an error message along the lines of "Dude, your tag's fontstring is nil"?
local Tag = function(self, fs, tagstr) if(not fs or not tagstr) then return end
it was written that way, I don't know, but it is in line with other oUF element constructors -- none of them will throw an error if you call them for an object that doesn't exist; they'll just silently do nothing.
Retired author of
too many addons
Message me if you're interested in taking over one of my addons.
message me about addon bugs or programming questions.
View Public Profile
Send a private message to Phanx
Find More Posts by Phanx