fix options error when using ignore

This commit is contained in:
pepopo978
2025-05-23 09:44:54 -07:00
parent 6a6f563e7b
commit 86d68f40a7
-12
View File
@@ -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