mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-10 07:30:01 +00:00
Use UnitClassBase for class detection
This commit is contained in:
@@ -7,8 +7,7 @@ pfUI:RegisterModule("innervatecall", function ()
|
||||
if not GetNampowerVersion then return end
|
||||
|
||||
-- Only load for druids
|
||||
local _, playerClass = UnitClass("player")
|
||||
if playerClass ~= "DRUID" then return end
|
||||
if UnitClassBase("player") ~= "DRUID" then return end
|
||||
|
||||
local INNERVATE_SPELLID = 29166
|
||||
|
||||
|
||||
Reference in New Issue
Block a user