mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-04 04:30:01 +00:00
Use UnitClassBase for class detection
This commit is contained in:
+1
-1
@@ -34,7 +34,7 @@ pfUI:RegisterModule("player", function ()
|
||||
playerFrame.infoTopCenterText:SetHeight(14)
|
||||
end
|
||||
|
||||
local _, myclass = UnitClass("player")
|
||||
local myclass = UnitClassBase("player")
|
||||
playerFrame.myclass = myclass
|
||||
playerFrame.isSpellCaster = myclass ~= "WARRIOR" and myclass ~= "ROGUE" and myclass ~= "HUNTER"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user