diff --git a/modules/CustomCDBar.lua b/modules/CustomCDBar.lua index 7dedf03..4d344d2 100644 --- a/modules/CustomCDBar.lua +++ b/modules/CustomCDBar.lua @@ -666,7 +666,7 @@ function IceCustomCDBar.prototype:IsReady() if (IsUsableSpell(checkSpell) == 1) then if (not self.moduleSettings.bIgnoreRange and SpellHasRange(checkSpell)) or (self.moduleSettings.bOnlyShowWithTarget) then if (UnitExists("target") and (not SpellHasRange(checkSpell) or IsSpellInRange(checkSpell, "target") == 1)) - or (not UnitExists("target") and IsSpellInRange(checkSpell, "player")) then + or (not UnitExists("target") and not self.moduleSettings.bOnlyShowWithTarget and IsSpellInRange(checkSpell, "player")) then is_ready = 1 end else