Skip to content

Commit

Permalink
New DropDown on StableUI
Browse files Browse the repository at this point in the history
  • Loading branch information
Merathilis committed Jan 9, 2025
1 parent e48d09f commit cf9972a
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions ElvUI/Mainline/Modules/Skins/Stable.lua
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,13 @@ function S:Blizzard_StableUI()
end

local petInfo = modelScene.PetInfo
if petInfo and petInfo.Type then
hooksecurefunc(petInfo.Type, 'SetText', S.ReplaceIconString)
if petInfo then
if petInfo.Type then
hooksecurefunc(petInfo.Type, 'SetText', S.ReplaceIconString)
end
if petInfo.Specialization then
S:HandleDropDownBox(petInfo.Specialization)
end
end
end

Expand Down

0 comments on commit cf9972a

Please sign in to comment.