promotional bannermobile promotional banner

Nem: Pet Alerts

Never miss critical pet problems again. Large on-screen alerts for dead, missing, CC’d, low health, or taunting in groups.

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 wraps GetSpecializationInfo() in pcall and checks the return with issecretvalue() 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 the mod.specID == currentSpecID comparison in pcall as an additional safeguard, so a secret value that slips through GetSpecID() fails silently instead of crashing the addon