From ea556e226345a78e85fbb6a78713c65e2d093967 Mon Sep 17 00:00:00 2001 From: d87 Date: Thu, 29 Aug 2024 20:25:45 +0700 Subject: [PATCH] IsUsableSpell bugifx --- NugRunning.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NugRunning.lua b/NugRunning.lua index 835be15..9c771ef 100644 --- a/NugRunning.lua +++ b/NugRunning.lua @@ -1525,7 +1525,7 @@ end local IsPlayerSpell = IsPlayerSpell -local IsUsableSpell = IsUsableSpell +local IsUsableSpell = C_Spell and C_Spell.IsSpellUsable or IsUsableSpell local function IsOriginalSpell(spellID) local replacedTexture, originalTexture = GetSpellTexture(spellID) return replacedTexture == originalTexture