diff --git a/PallyPower.toc b/PallyPower.toc index aa3e608..8bd07e8 100644 --- a/PallyPower.toc +++ b/PallyPower.toc @@ -1,4 +1,4 @@ -## Interface: 30400 +## Interface: 30401 ## Author: Aznamir, Dyaxler, Es, gallantron ## Title: PallyPower Classic ## Version: @project-version@ diff --git a/PallyPowerValues.lua b/PallyPowerValues.lua index 1ae4123..d82de9e 100644 --- a/PallyPowerValues.lua +++ b/PallyPowerValues.lua @@ -287,7 +287,8 @@ PallyPower.AuraIcons = PallyPower.isWrath and { -- XML Aliases do - local version = string.trim(GetAddOnMetadata("PallyPower", "Version")) + PallyPower.GetAddOnMetadata = _G.GetAddOnMetadata or C_AddOns.GetAddOnMetadata + local version = string.trim(PallyPower.GetAddOnMetadata("PallyPower", "Version")) if version == ("@project-".."version@") then -- split string so it doesn't get replaced by packager version = "Development version" end diff --git a/PallyPower_Wrath.toc b/PallyPower_Wrath.toc index aa3e608..8bd07e8 100644 --- a/PallyPower_Wrath.toc +++ b/PallyPower_Wrath.toc @@ -1,4 +1,4 @@ -## Interface: 30400 +## Interface: 30401 ## Author: Aznamir, Dyaxler, Es, gallantron ## Title: PallyPower Classic ## Version: @project-version@