From e2d0af1e2bf28f6377cc354dbf9e41e7018dfcbb Mon Sep 17 00:00:00 2001 From: Sumsebrum Date: Thu, 19 Aug 2021 18:58:05 +0200 Subject: [PATCH] fix paladin spec detect to discipline --- Modules/Cooldowns.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Modules/Cooldowns.lua b/Modules/Cooldowns.lua index 181c029..12f14aa 100644 --- a/Modules/Cooldowns.lua +++ b/Modules/Cooldowns.lua @@ -338,6 +338,9 @@ function Cooldowns:DetectSpec(unit, spec) if (not button or not spec or button.spec) then return end + if button.class == "PALADIN" and (spec ~= L["Holy"] or spec ~= L["Retribution"]) then + return + end button.spec = spec if not button.test then