Bug: Skins Not Loading
vojtasrb opened this issue · 10 comments
Game Flavor
Retail
Game Version
11.0.2
Add-On Version
11.0.1
Description
Not all skins are showing up in the list.
F.e. I can't see Masque_Squat.
Steps to Reproduce
- Install Masque_Squat and Masque Addon
- Look at the settings, it's not there
- Profit
- Make sure that you have out-of-date add-ons enabled.
- If there's an error about
GetAddOnMetadata
, you will need to manually edit the file and addC_AddOns.
to the beginning of every occurrence ofGetAddOnMetadata
so that it readsC_AddOns.GetAddOnMetadata
.
@StormFX : Thanks for the reply.
- is enabled
- There is no error about GetAddOnMetadata
You must have errors suppressed or something. I can confirm the skin does need to be edited.
Change line 8 of main.lua (in the Masque_Shadowlands folder)
From:
local VERSION = GetAddOnMetadata(ADDON, "Version")
To:
local VERSION = C_AddOns.GetAddOnMetadata(ADDON, "Version")
Worked perfectly.
Thank you for yout time and effort. @StormFX
Apologize for the premature close. Was assuming it was fixed and got side-tracked by the additional poster. And for future reference, the original poster should be able to re-open an issue.
After editing the file, Squat still not working unfortunately
Shadowlands's code is different, so you'll need to adjust it. Change "VERSION" to "Version" in the example above. Lua is case-sensitive.
Apologize for the premature close. Was assuming it was fixed and got side-tracked by the additional poster. And for future reference, the original poster should be able to re-open an issue.
After editing the file, Squat still not working unfortunately
Shadowlands's code is different, so you'll need to adjust it. Change "VERSION" to "Version" in the example above. Lua is case-sensitive.
Hey dude, it works now. Thanks!
Now you can close it. :)