diff --git a/Libs/zzHelper/zzHelper.lua b/Libs/zzHelper/zzHelper.lua index 1320a32..2de7dbb 100644 --- a/Libs/zzHelper/zzHelper.lua +++ b/Libs/zzHelper/zzHelper.lua @@ -1,5 +1,6 @@ -local lib = LibStub:NewLibrary("zzHelper", 1) +local lib = LibStub:NewLibrary("zzHelper", 2) if not lib then return end +lib['targets'] = lib['targets'] or {} local mixins = {'colorize', 'round', 'sortArray', 'IsTwink', 'classcolor', 'MoneyString', 'MoneyStringSetString', 'MoneyStringSetSize'} --[[ @@ -10,7 +11,7 @@ function lib:colorize(text, color) return string.format("|cff%s%s|r",color and color or 'ffffff',text and text or '') end -local iconbase = "\124TInterface\\MoneyFrame\\UI-%s:%d:%d:1:0\124t" +local iconbase = "\124TInterface\\MoneyFrame\\UI-%sIcon:%d:%d:1:0\124t" local iconSize = 14 local moneyText = { gold = "G",