From 5dba8d953c891ef9d19298559065818882f2c687 Mon Sep 17 00:00:00 2001 From: EsreverWoW <49285632+EsreverWoW@users.noreply.github.com> Date: Thu, 4 May 2023 17:09:37 -0500 Subject: [PATCH] Fix for 3.4.2 PTR --- PallyPower.toc | 2 +- PallyPowerValues.lua | 3 ++- PallyPower_Wrath.toc | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) 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@