Commit daa5b17e authored by Azilroka's avatar Azilroka

Spellbook: Protect this call.

parent 0c783044
......@@ -75,8 +75,10 @@ function AS:Blizzard_Spellbook()
hooksecurefunc("SpellBookFrame_UpdateSkillLineTabs", function()
for i = 1, 8 do
local Tab = _G["SpellBookSkillLineTab"..i]
AS:SkinTexture(Tab:GetNormalTexture())
Tab:GetNormalTexture():SetInside()
if Tab:GetNormalTexture() then
AS:SkinTexture(Tab:GetNormalTexture())
Tab:GetNormalTexture():SetInside()
end
end
end)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment