fix: sorting is fixed

This commit is contained in:
Salikh Gurgenidze
2025-11-24 02:09:06 +04:00
parent 9ff34ca583
commit 8686762990
5 changed files with 272 additions and 319 deletions
+6 -6
View File
@@ -117,22 +117,22 @@ function addon:ApplyBackdrop(frame, backdropType, colorType)
end
-- Print function with addon prefix
function addon:Print(msg, a1, a2, a3, a4, a5)
local text = string.format(msg, a1, a2, a3, a4, a5)
function addon:Print(msg, a1, a2, a3, a4, a5, a6, a7)
local text = string.format(msg, a1, a2, a3, a4, a5, a6, a7)
DEFAULT_CHAT_FRAME:AddMessage("|cFF00FF96Guda:|r " .. text)
end
-- Debug print
function addon:Debug(msg, a1, a2, a3, a4, a5)
function addon:Debug(msg, a1, a2, a3, a4, a5, a6, a7)
if self.DEBUG then
local text = string.format(msg, a1, a2, a3, a4, a5)
local text = string.format(msg, a1, a2, a3, a4, a5, a6, a7)
DEFAULT_CHAT_FRAME:AddMessage("|cFFFFFF00[Debug]|r |cFF00FF96Guda:|r " .. text)
end
end
-- Error handler
function addon:Error(msg, a1, a2, a3, a4, a5)
local text = string.format(msg, a1, a2, a3, a4, a5)
function addon:Error(msg, a1, a2, a3, a4, a5, a6, a7)
local text = string.format(msg, a1, a2, a3, a4, a5, a6, a7)
DEFAULT_CHAT_FRAME:AddMessage("|cFFFF0000[Error]|r |cFF00FF96Guda:|r " .. text)
end