diff --git a/Libs/DF/LibDFramework-1.0.toc b/Libs/DF/LibDFramework-1.0.toc index 4c8166cc..bbb73894 100644 --- a/Libs/DF/LibDFramework-1.0.toc +++ b/Libs/DF/LibDFramework-1.0.toc @@ -1,4 +1,4 @@ -## Interface: 100100 +## Interface: 100206 ## Title: Lib: LibDFramework-1.0 ## Notes: Base Framework for many Addons diff --git a/core/util.lua b/core/util.lua index 477680b4..1736435b 100644 --- a/core/util.lua +++ b/core/util.lua @@ -1823,9 +1823,9 @@ end function Details:AddCustomIconSet(path, dropdownLabel, isSpecIcons, dropdownIcon, dropdownIconTexCoords, dropdownIconSize, dropdownIconColor) --checking the parameters to improve debug for the icon set author - assert(type(self) == "string", "Details:AddCustomIconSet() did you used Details.AddCustomIconSet instead of Details:AddCustomIconSet?") - assert(type(path) ~= "string", "Details:AddCustomIconSet() 'path' must be a string.") - assert(string.len(path) < 16, "Details:AddCustomIconSet() invalid path.") + assert(self == Details, "Details:AddCustomIconSet() did you used Details.AddCustomIconSet instead of Details:AddCustomIconSet?") + assert(type(path) == "string", "Details:AddCustomIconSet() 'path' must be a string.") + assert(string.len(path) > 16, "Details:AddCustomIconSet() invalid path.") table.insert(Details222.BarIconSetList, {