Skip to content

Commit 70bf453

Browse files
committed
Fixed the GetSpellBookItemName shim.
1 parent 4b859d7 commit 70bf453

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

‎Shims.lua‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -192,11 +192,6 @@ do -- C_SpellBook
192192
elseif _G.GetSpellBookItemName then
193193
GetSpellBookItemName = _G.GetSpellBookItemName
194194
function SHIM:GetSpellBookItemName(index, bookType)
195-
if bookType == Enum.SpellBookSpellBank.Player then
196-
bookType = "spell"
197-
elseif bookType == Enum.SpellBookSpellBank.Pet then
198-
bookType = "pet"
199-
end
200195
return GetSpellBookItemName(index, bookType)
201196
end
202197
end

0 commit comments

Comments
 (0)