From 6d73c6b006e1766193ac3eccb27771e30d19da4c Mon Sep 17 00:00:00 2001 From: Brues <5278969+brues-code@users.noreply.github.com> Date: Tue, 25 Aug 2026 09:42:36 -0500 Subject: [PATCH] Localize Feed Pet via spell ID and fix IsReactive param - Resolve Feed Pet from spell ID 6991 (C_Spell.GetSpellName) so /feedpet works on non-enUS clients without a Localized.Spells entry - Fix CleveRoids.IsReactive referencing undefined global spellName instead of its name parameter --- Conditionals.lua | 2 +- Core.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Conditionals.lua b/Conditionals.lua index bb80612..0c9cafe 100644 --- a/Conditionals.lua +++ b/Conditionals.lua @@ -4895,7 +4895,7 @@ function CleveRoids.ValidatePlayerAuraCount(bigger, amount) end function CleveRoids.IsReactive(name) - return CleveRoids.reactiveSpells[spellName] ~= nil + return CleveRoids.reactiveSpells[name] ~= nil end -- NOTE: CleveRoids.GetActionButtonInfo is defined in Extensions/Tooltip/Generic.lua diff --git a/Core.lua b/Core.lua index 1a277a9..1272139 100644 --- a/Core.lua +++ b/Core.lua @@ -7114,7 +7114,7 @@ function CleveRoids.DoFeedPet(msg) return false end - local feedPet = (CleveRoids.Localized.Spells and CleveRoids.Localized.Spells["Feed Pet"]) or "Feed Pet" + local feedPet = C_Spell.GetSpellName(6991) or "Feed Pet" CastSpellByName(feedPet) -- Only apply the food if Feed Pet actually entered item-targeting mode.