fix paladin spec detect to discipline

This commit is contained in:
Sumsebrum 2021-08-19 18:58:05 +02:00
parent 9e81455ec5
commit e2d0af1e2b

View File

@ -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