Typo in Wardrobe.lua breaks "View Sources"
andr-a opened this issue ยท 1 comments
Got the following LUA error when clicking "View Sources":
4x bad argument #1 to '?' (Usage: local itemModifiedAppearanceIDs = C_TransmogCollection.GetAllAppearanceSources(itemAppearanceID)) [string "=[C]"]: in function
GetAllAppearanceSources'
[string "@BetterWardrobe/Modules/Sources.lua"]:190: in function <BetterWardrobe/Modules/Sources.lua:180>
[string "@BetterWardrobe/Modules/Sources.lua"]:459: in function GenerateSourceListView' [string "@BetterWardrobe/Modules/Wardrobe.lua"]:3704: in function <BetterWardrobe/Modules/Wardrobe.lua:3703> [string "=(tail call)"]: ? [string "=[C]"]: in function
securecallfunction'
[string "@Blizzard_Menu/Menu.lua"]:868: in function `Pick'
[string "@Blizzard_Menu/MenuTemplates.lua"]:74: in function <Blizzard_Menu/MenuTemplates.lua:68>
Locals:
(*temporary) = "bad argument #1 to '?' (Usage: local itemModifiedAppearanceIDs = C_TransmogCollection.GetAllAppearanceSources(itemAppearanceID))"`
I found this line and removing the 'P' from the end fixed the issue.
BetterWardrobe/Modules/Wardrobe.lua
Line 3704 in a74b7f4