fix paladin spec detect to discipline
This commit is contained in:
parent
9e81455ec5
commit
e2d0af1e2b
@ -338,6 +338,9 @@ function Cooldowns:DetectSpec(unit, spec)
|
|||||||
if (not button or not spec or button.spec) then
|
if (not button or not spec or button.spec) then
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
if button.class == "PALADIN" and (spec ~= L["Holy"] or spec ~= L["Retribution"]) then
|
||||||
|
return
|
||||||
|
end
|
||||||
|
|
||||||
button.spec = spec
|
button.spec = spec
|
||||||
if not button.test then
|
if not button.test then
|
||||||
|
Loading…
Reference in New Issue
Block a user