Fix ShadowOrbs causing priests to freeze/hang on login

I would still like to find a way to feature-flag this instead of WowVer-flag it, but it's not super important for now.
This commit is contained in:
Parnic
2022-09-19 10:21:02 -05:00
parent 18d827965c
commit 5a41d9a7f4

View File

@ -103,7 +103,7 @@ end
-- Load us up
local _, unitClass = UnitClass("player")
if (unitClass == "PRIEST" and PriestBarFrame) then
if (unitClass == "PRIEST" and IceHUD.WowVer >= 50000 and IceHUD.WowVer < 70000) then
IceHUD.ShadowOrbs = ShadowOrbs:new()
end