LFGMute

6.4k Downloads

11.0.2 --- Addon generates errors about not being able to find GetAddonMetadata function...

karpana opened this issue ยท 1 comments

commented
21x LFGMute/LFGMute.lua:3: attempt to call global 'GetAddOnMetadata' (a nil value)
[string "@LFGMute/LFGMute.lua"]:3: in main chunk

Locals:
LFGMuteAddon = <table> {
 modules = <table> {
 }
 defaultModuleLibraries = <table> {
 }
 enabledState = true
 ADDON_NAME = "LFGMute"
 defaultModuleState = true
 name = "LFGMute"
 orderedModules = <table> {
 }
}
(*temporary) = nil
(*temporary) = "LFGMute"
(*temporary) = "Version"
(*temporary) = "attempt to call global 'GetAddOnMetadata' (a nil value)"
commented

adding the following line of code at line 3 temporarily resolves the issue.

local GetAddOnMetadata = C_AddOns and C_AddOns.GetAddOnMetadata or GetAddOnMetadata