Skip to content

Commit baeaa4a

Browse files
committed
fix: #2310 spec checking broken below level 10 in classic era
1 parent b1319cf commit baeaa4a

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
## v11.2.8
2+
* Fix #2310 spec checking broken below level 10 on Classic Era.
3+
14
## v11.2.7
25
* Fix #2309 Additional assorted talent/spec errors on Classic Era.
36

Components/Core/Utils.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1640,6 +1640,7 @@ if ClassicExpansionAtMost(LE_EXPANSION_CATACLYSM) then
16401640
function TMW.GetCurrentSpecializationID()
16411641
local _, pclass, classID = UnitClass("player")
16421642
local spec = TMW.GetCurrentSpecialization()
1643+
if not spec then return end
16431644
return TMW.GetSpecializationInfoForClassID(classID, spec)
16441645
end
16451646

Options/CHANGELOG.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ if not TMW then return end
33
TMW.CHANGELOG_LASTVER="10.0.0"
44

55
TMW.CHANGELOG = [==[
6+
## v11.2.8
7+
* Fix #2310 spec checking broken below level 10 on Classic Era.
8+
69
## v11.2.7
710
* Fix #2309 Additional assorted talent/spec errors on Classic Era.
811

0 commit comments

Comments
 (0)