Use UnitClassBase for class detection

This commit is contained in:
Brues
2026-07-30 01:26:29 -05:00
parent 838f7f5d25
commit 6d1bfe805e
16 changed files with 22 additions and 24 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
pfUI:RegisterModule("hunterbar", function ()
local _,class = UnitClass("player")
local class = UnitClassBase("player")
if class ~= "HUNTER" or C.bars.hunterbar == "0" then return end
-- Wing Clip (any rank) and Arcane Shot (any rank) spell IDs.