Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update MainFrame.lua #177

Merged
merged 1 commit into from
Jun 10, 2024
Merged

Update MainFrame.lua #177

merged 1 commit into from
Jun 10, 2024

Conversation

aLanaMaunz
Copy link
Contributor

@aLanaMaunz aLanaMaunz commented Jun 10, 2024

fixed following error, occurs when clicking on a ring enchant in the enchanting profession in cata classic:

Usage: local icon = C_Item.GetItemIconByID(itemInfo) [string "=[C]"]: in function `GetItemIcon'


[string "@Skillet-Classic/UI/MainFrame.lua"]:1892: in function `UpdateDetailsWindow' 
[string "@Skillet-Classic/UI/MainFrame.lua"]:975: in function `UpdateTradeSkillWindow' 
[string "@Skillet-Classic/UI/MainFrame.lua"]:2538: in function `ScrollToSkillIndex' 
[string "@Skillet-Classic/Skillet.lua"]:1603: in function `SetSelectedSkill' 
[string "@Skillet-Classic/UI/MainFrame.lua"]:2459: in function `SkillButton_OnClick'
[string "*MainFrame.xml:359_OnClick"]:2: in function <[string "*MainFrame.xml:359_OnClick"]:1>

fixed following error, occurs when clicking on a ring enchant:
Usage: local icon = C_Item.GetItemIconByID(itemInfo)
[string "=[C]"]: in function `GetItemIcon'
[string "@Skillet-Classic/UI/MainFrame.lua"]:1892: in function `UpdateDetailsWindow'
[string "@Skillet-Classic/UI/MainFrame.lua"]:975: in function `UpdateTradeSkillWindow'
[string "@Skillet-Classic/UI/MainFrame.lua"]:2538: in function `ScrollToSkillIndex'
[string "@Skillet-Classic/Skillet.lua"]:1603: in function `SetSelectedSkill'
[string "@Skillet-Classic/UI/MainFrame.lua"]:2459: in function `SkillButton_OnClick'
[string "*MainFrame.xml:359_OnClick"]:2: in function <[string "*MainFrame.xml:359_OnClick"]:1>
@b-morgan b-morgan merged commit 20c6a74 into b-morgan:master Jun 10, 2024
@b-morgan
Copy link
Owner

I have merged your pull request but I believe the right answer is to update the Skillet.scrollData at line 1308 in SkilletData.lua.

I hate scrapping Wowhead.

@b-morgan
Copy link
Owner

Skillet-Classic-1.92-alpha3 has an updated Skillet.scrollData file. This should now have data for all the ring enchants.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants