Skip to content

Commit 9e1dc33

Browse files
committed
Disabled shields blizzard API usage for MoP classic beta (GH issue #296)
1 parent 0fdd9f7 commit 9e1dc33

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/StatusShields.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,8 +139,8 @@ Grid2.setupFunc["shields-overflow"] = Create
139139

140140
Grid2:DbSetStatusDefaultValue( "shields-overflow", { type = "shields-overflow", color1 = {r=1, g=1, b=1, a=1} } )
141141

142-
-- Cataclysm classic, implementation of missing UnitGetTotalAbsorbs()
143-
if not Grid2.isCata then return end
142+
-- Cataclysm & MoP classic, implementation of missing UnitGetTotalAbsorbs()
143+
if Grid2.versionCli>=60000 then return end -- only cata and MoP
144144

145145
local next = next
146146
local CalcUnitShield

0 commit comments

Comments
 (0)