Use SetSpellByID for tooltip

This commit is contained in:
Brues
2026-08-06 00:33:12 -05:00
parent 71f8f74237
commit cf47d8caba
+1 -5
View File
@@ -4192,11 +4192,7 @@ function GameTooltip.SetAction(self, slot)
local current_spell_data = CleveRoids.GetSpell(action_name)
if current_spell_data and current_spell_data.id then
if current_spell_data.spellSlot and current_spell_data.bookType then
GameTooltip:SetSpell(current_spell_data.spellSlot, current_spell_data.bookType)
else
GameTooltip:SetSpellByID(current_spell_data.id)
end
GameTooltip:SetSpellByID(current_spell_data.id)
GameTooltip:Show()
return
end