File Details
v12.0.21
- R
- Apr 23, 2026
- 4.85 MB
- 1.2K
- 12.0.5
- Retail
File Name
v12.0.21.zip
Supported Versions
- 12.0.5
v12.0.21 (2026-04-22)
Bug Fix — Spec Detection Broken in Patch 12.0.5
GetSpecialization() can return a secret value in certain restricted execution contexts since patch 12.0.5. The previous code passed that value directly into GetSpecializationInfo() and then compared the result to a plain number — both operations throw a Lua error when a secret value is involved, causing the addon to fail to identify the active spec on login or spec swap.
Fix
GetSpecID()now wrapsGetSpecializationInfo()inpcalland checks the return withissecretvalue()before using it- A secondary fallback walks spec slots 1–4 to find a non-secret specID that matches the player's class and a registered module, then verifies the active slot with a second
pcall FindActiveModule()wraps themod.specID == currentSpecIDcomparison inpcallas an additional safeguard, so a secret value that slips throughGetSpecID()fails silently instead of crashing the addon

