Skip to content

Commit 3b8623e

Browse files
committed
Initial updates for Midnight Alpha
1 parent e2e92b8 commit 3b8623e

File tree

4 files changed

+6
-3
lines changed

4 files changed

+6
-3
lines changed

TalentTreeViewer_Loader/TalentTreeViewer_Loader.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ frame:RegisterEvent('ADDON_LOADED');
1717
function TVLoader:ADDON_LOADED(_, addonName)
1818
if addonName == name then
1919
self:OnInitialize();
20-
if(C_AddOns.IsAddOnLoaded('BlizzMove')) then self:RegisterToBlizzMove(); end
20+
if (C_AddOns.IsAddOnLoaded('BlizzMove')) then self:RegisterToBlizzMove(); end
2121
end
2222
if addonName == 'Blizzard_PlayerSpells' then
2323
self:AddButtonToBlizzardTalentFrame();

TalentTreeViewer_Loader/TalentTreeViewer_Loader.toc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## Interface: @toc-version-retail@
1+
## Interface: @toc-version-retail@,@toc-version-midnight@
22
## Title: TalentTree Viewer (Loader)
33
## Notes: View any spec's talent trees from any character
44
## Author: Numy

TalentTreeViewer_TWW/TalentTreeViewer_TWW.toc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## Interface: @toc-version-retail@
1+
## Interface: @toc-version-retail@,@toc-version-midnight@
22
## Title: TalentTree Viewer (TWW UI)
33
## Notes: View any spec's talent trees from any character. This module is only for The War Within!
44
## Author: Numy

TalentTreeViewer_TWW/TalentViewer.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ local ns = select(2, ...)
44

55
if LE_EXPANSION_LEVEL_CURRENT <= LE_EXPANSION_SHADOWLANDS then print(name, 'requires Dragonflight to work') return end
66

7+
local ChatEdit_InsertLink = ChatFrameUtil and ChatFrameUtil.InsertLink or ChatEdit_InsertLink
8+
local ChatFrame_OpenChat = ChatFrameUtil and ChatFrameUtil.OpenChat or ChatFrame_OpenChat
9+
710
ns.MAX_LEVEL_CLASS_CURRENCY_CAP = 31;
811
ns.MAX_LEVEL_SPEC_CURRENCY_CAP = 30;
912
ns.MAX_LEVEL_SUBTREE_CURRENCY_CAP = 10;

0 commit comments

Comments
 (0)