Fixes for Classic 1.15.9 - #320
Conversation
Attempting fix for Classic 1.15.9, which appears to have adopted more of Retail's namespaced AddOn API. GetAddOnMetadata is no longer available as a global, so this line explodes during addon initialization. This is exactly the same class of breakage that happened on Retail in 11.0 when Blizzard moved APIs into C_AddOns
Attempting fix for Classic 1.15.9, which appears to have adopted more of Retail's namespaced AddOn API. GetAddOnMetadata is no longer available as a global, so this line explodes during addon initialization. This is exactly the same class of breakage that happened on Retail in 11.0 when Blizzard moved APIs into C_AddOns
|
Message: Interface/AddOns/ItemRack/Libs/Libs.xml:3 Error loading Interface/AddOns/ItemRack/LibStub/LibStub.lua and when i try to open the interface, i get Message: Interface/AddOns/ItemRack/ItemRack.lua:1944: attempt to call a nil value |
|
Thanks for this — it's the right pattern and it fixes the load-time crash from #319. Heads up that three call sites are still left on the removed globals, since Lua locals don't cross file boundaries and the
Both load the LoD I've put the remainder up as #321, stacked on this branch rather than duplicating your work — it's branched from Happy to close #321 if you'd prefer to just fold those three lines into this PR — your call, no attachment either way. |
Classic 1.15.9 appears to have adopted more of Retail's namespaced AddOn API. GetAddOnMetadata is no longer available as a global, so this line explodes during addon initialization. This is exactly the same class of breakage that happened on Retail in 11.0 when Blizzard moved APIs into C_AddOns