From 0b62f4632eb5a2070b3a27d8f85491749daebadc Mon Sep 17 00:00:00 2001 From: Lars Norberg Date: Wed, 25 Sep 2024 20:51:02 +0200 Subject: [PATCH] 5.2.183-Release --- AzeriteUI/AzeriteUI_Vanilla.toc | 2 +- AzeriteUI/Components/ActionBars/Prototypes/PetButton.lua | 2 +- AzeriteUI/Components/ActionBars/Prototypes/StanceButton.lua | 2 +- AzeriteUI/Core/Common/Constants.lua | 1 - AzeriteUI/Libs/Libs_Vanilla.xml | 2 +- CHANGELOG.md | 3 +++ 6 files changed, 7 insertions(+), 5 deletions(-) diff --git a/AzeriteUI/AzeriteUI_Vanilla.toc b/AzeriteUI/AzeriteUI_Vanilla.toc index 9efc73a7..683aebfe 100644 --- a/AzeriteUI/AzeriteUI_Vanilla.toc +++ b/AzeriteUI/AzeriteUI_Vanilla.toc @@ -1,4 +1,4 @@ -## Interface: 11503 +## Interface: 11504 ## IconTexture: Interface\Addons\AzeriteUI\Assets\power-crystal-ice-icon.tga ## Title: |TInterface\Addons\AzeriteUI\Assets\power-crystal-ice-icon.tga:16:16:0:0:512:512:70:442:40:472|t |cff4488bbAzerite|r |cfffafafaUI|r |cffcccccc5.2|r diff --git a/AzeriteUI/Components/ActionBars/Prototypes/PetButton.lua b/AzeriteUI/Components/ActionBars/Prototypes/PetButton.lua index 156ae782..0d6e1407 100644 --- a/AzeriteUI/Components/ActionBars/Prototypes/PetButton.lua +++ b/AzeriteUI/Components/ActionBars/Prototypes/PetButton.lua @@ -262,7 +262,7 @@ end PetButton.GetHotkey = function(self) local key = GetBindingKey(format("BONUSACTIONBUTTON%d", self.id)) or GetBindingKey("CLICK "..self:GetName()..":LeftButton") - return key and KeyBound:ToShortKey(key) + return key and KeyBound and KeyBound:ToShortKey(key) end PetButton.GetBindings = function(self) diff --git a/AzeriteUI/Components/ActionBars/Prototypes/StanceButton.lua b/AzeriteUI/Components/ActionBars/Prototypes/StanceButton.lua index a593c6cf..d7468dae 100644 --- a/AzeriteUI/Components/ActionBars/Prototypes/StanceButton.lua +++ b/AzeriteUI/Components/ActionBars/Prototypes/StanceButton.lua @@ -144,7 +144,7 @@ end StanceButton.GetHotkey = function(self) local key = GetBindingKey(string_format("SHAPESHIFTBUTTON%d", self:GetID())) or GetBindingKey("CLICK "..self:GetName()..":LeftButton") - return key and KeyBound:ToShortKey(key) + return key and KeyBound and KeyBound:ToShortKey(key) end StanceButton.GetTexture = function(self) diff --git a/AzeriteUI/Core/Common/Constants.lua b/AzeriteUI/Core/Common/Constants.lua index 8cc13c35..818932ea 100644 --- a/AzeriteUI/Core/Common/Constants.lua +++ b/AzeriteUI/Core/Common/Constants.lua @@ -67,7 +67,6 @@ ns.Private.IsRetail = (WOW_PROJECT_ID == WOW_PROJECT_MAINLINE) ns.Private.IsClassic = (WOW_PROJECT_ID == WOW_PROJECT_CLASSIC) ns.Private.IsTBC = (WOW_PROJECT_ID == WOW_PROJECT_BURNING_CRUSADE_CLASSIC) ns.Private.IsWrath = (WOW_PROJECT_ID == WOW_PROJECT_WRATH_CLASSIC) ---ns.Private.IsCata = WOW_PROJECT_ID == (WOW_PROJECT_CATA_CLASSIC or 99) -- NYI in first build ns.Private.IsCata = (version >= 40400) and (version < 50000) ns.Private.WoW10 = version >= 100000 ns.Private.WoW11 = version >= 110000 diff --git a/AzeriteUI/Libs/Libs_Vanilla.xml b/AzeriteUI/Libs/Libs_Vanilla.xml index befde828..4505f3f2 100644 --- a/AzeriteUI/Libs/Libs_Vanilla.xml +++ b/AzeriteUI/Libs/Libs_Vanilla.xml @@ -22,7 +22,7 @@