Skip to content

Commit 97b6fc5

Browse files
mrbudsInfusOnWoW
authored andcommitted
Classic Era 1.15.8 update
update toc don't use C_SpecializationInfo.GetTalentInfo that was added use C_Texture.GetAtlasElements()
1 parent 3c1e514 commit 97b6fc5

File tree

7 files changed

+11
-6
lines changed

7 files changed

+11
-6
lines changed

WeakAuras/Atlas_Vanilla.lua

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@ if not WeakAuras.IsLibsOK() then return end
33
local AddonName = ...
44
---@class Private
55
local Private = select(2, ...)
6+
7+
if C_Texture and C_Texture.GetAtlasElements then
8+
return
9+
end
10+
611
Private.AtlasList = {
712
"!Barbershop-MiddleTile",
813
"!CharacterCreateDropdown-NineSlice-EdgeLeft",

WeakAuras/Compatibility.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ else
7575
Private.ExecEnv.GetSpecializationInfoForClassID = GetSpecializationInfoForClassID
7676
end
7777

78-
if C_SpecializationInfo and C_SpecializationInfo.GetTalentInfo then
78+
if C_SpecializationInfo and C_SpecializationInfo.GetTalentInfo and not WeakAuras.IsClassicEra() then
7979
-- copy pasta from Interface/AddOns/Blizzard_DeprecatedSpecialization/Deprecated_Specialization_Mists.lua
8080
Private.ExecEnv.GetTalentInfo = function(tabIndex, talentIndex, isInspect, isPet, groupIndex)
8181
-- Note: tabIndex, talentIndex, and isPet are not supported parameters in 5.5.x and onward.

WeakAuras/WeakAuras_Vanilla.toc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## Interface: 11507
1+
## Interface: 11508
22
## Title: WeakAuras
33
## Author: The WeakAuras Team
44
## Version: @project-version@

WeakAurasArchive/WeakAurasArchive_Vanilla.toc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## Interface: 11507
1+
## Interface: 11508
22
## Title: WeakAuras Archive
33
## Author: The WeakAuras Team
44
## Version: @project-version@

WeakAurasModelPaths/WeakAurasModelPaths_Vanilla.toc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## Interface: 11507
1+
## Interface: 11508
22
## Title: WeakAuras Model Paths
33
## Author: The WeakAuras Team
44
## Version: @project-version@

WeakAurasOptions/WeakAurasOptions_Vanilla.toc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## Interface: 11507
1+
## Interface: 11508
22
## Title: WeakAuras Options
33
## Author: The WeakAuras Team
44
## Version: @project-version@

WeakAurasTemplates/WeakAurasTemplates_Vanilla.toc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## Interface: 11507
1+
## Interface: 11508
22
## Title: WeakAuras Templates
33
## Author: The WeakAuras Team
44
## Version: @project-version@

0 commit comments

Comments
 (0)