Skip to content

Commit

Permalink
Fix for 3.4.2 PTR
Browse files Browse the repository at this point in the history
  • Loading branch information
EsreverWoW committed May 4, 2023
1 parent 11f2725 commit 5dba8d9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion PallyPower.toc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Interface: 30400
## Interface: 30401
## Author: Aznamir, Dyaxler, Es, gallantron
## Title: PallyPower Classic
## Version: @project-version@
Expand Down
3 changes: 2 additions & 1 deletion PallyPowerValues.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion PallyPower_Wrath.toc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Interface: 30400
## Interface: 30401
## Author: Aznamir, Dyaxler, Es, gallantron
## Title: PallyPower Classic
## Version: @project-version@
Expand Down

0 comments on commit 5dba8d9

Please sign in to comment.