Skip to content

Commit

Permalink
Revert "Also use %q for IsSpellKnownForLoad" fixes #4638
Browse files Browse the repository at this point in the history
  • Loading branch information
mrbuds authored and InfusOnWoW committed Oct 9, 2023
1 parent 7af5c86 commit 82c717f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions WeakAuras/Prototypes.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1586,15 +1586,15 @@ Private.load_prototype = {
name = "spellknown",
display = L["Spell Known"],
type = "spell",
test = "WeakAuras.IsSpellKnownForLoad(%q, %s)",
test = "WeakAuras.IsSpellKnownForLoad(%s, %s)",
events = WeakAuras.IsWrathClassic() and {"SPELLS_CHANGED", "UNIT_PET", "PLAYER_TALENT_UPDATE"} or {"SPELLS_CHANGED", "UNIT_PET"},
showExactOption = true
},
{
name = "not_spellknown",
display = WeakAuras.newFeatureString .. L["|cFFFF0000Not|r Spell Known"],
type = "spell",
test = "not WeakAuras.IsSpellKnownForLoad(%q, %s)",
test = "not WeakAuras.IsSpellKnownForLoad(%s, %s)",
events = WeakAuras.IsWrathClassic() and {"SPELLS_CHANGED", "UNIT_PET", "PLAYER_TALENT_UPDATE"} or {"SPELLS_CHANGED", "UNIT_PET"},
showExactOption = true
},
Expand Down

0 comments on commit 82c717f

Please sign in to comment.