use C_AddOns.GetAddOnName

This commit is contained in:
Brues
2026-05-30 23:18:16 -05:00
parent 671939fe9e
commit 671b7f3574
+1 -1
View File
@@ -95,7 +95,7 @@ end
local tocs = { "", "-master", "-tbc", "-wotlk" }
for _, name in pairs(tocs) do
local current = string.format("pfUI%s", name)
local _, title = GetAddOnInfo(current)
local title = C_AddOns.GetAddOnName(current)
if title then
pfUI.name = current
pfUI.path = "Interface\\AddOns\\" .. current