From 86d68f40a78d093a9a09fdfdae36aee6011e5fd0 Mon Sep 17 00:00:00 2001 From: pepopo978 Date: Fri, 23 May 2025 09:44:54 -0700 Subject: [PATCH] fix options error when using ignore --- commands.lua | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/commands.lua b/commands.lua index 20768fb..dcb48ae 100644 --- a/commands.lua +++ b/commands.lua @@ -259,9 +259,6 @@ local function hasSpellId(guid, ignoreSpellId) break end if spellId == ignoreSpellId then - if options["warnings"] then - DEFAULT_CHAT_FRAME:AddMessage(curseNoTarget) - end return true end end @@ -272,9 +269,6 @@ local function hasSpellId(guid, ignoreSpellId) break end if spellId == ignoreSpellId then - if options["warnings"] then - DEFAULT_CHAT_FRAME:AddMessage(curseNoTarget) - end return true end end @@ -289,9 +283,6 @@ local function hasSpellTexture(guid, ignoreTexture) break end if string.find(texture, ignoreTexture) then - if options["warnings"] then - DEFAULT_CHAT_FRAME:AddMessage(curseNoTarget) - end return true end end @@ -302,9 +293,6 @@ local function hasSpellTexture(guid, ignoreTexture) break end if string.find(texture, ignoreTexture) then - if options["warnings"] then - DEFAULT_CHAT_FRAME:AddMessage(curseNoTarget) - end return true end end