InFlight TWW - Taxi Timer

InFlight TWW - Taxi Timer

6.6k Downloads

Nothign Sowing and Error with in-game options window

Closed this issue ยท 1 comments

commented

When hitting Escape; then going to Options, then AddOns, then Inflight...

Nothing shows up other than the word "Inflight" and get this error:

4x InFlight/InFlight.lua:779: attempt to call global 'GetAddOnMetadata' (a nil value)
[string "@InFlight/InFlight.lua"]:779: in function `GetInfo'
[string "@InFlight/InFlight.lua"]:782: in function `SetLayout'
[string "@InFlight_Load/InFlight_Load.lua"]:131: in function <InFlight_Load/InFlight_Load.lua:129>
[string "=[C]"]: in function `Show'
[string "@Blizzard_Settings_Shared/Blizzard_SettingsPanel.lua"]:853: in function `DisplayLayout'
[string "@Blizzard_Settings_Shared/Blizzard_SettingsPanel.lua"]:794: in function <.../Blizzard_Settings_Shared/Blizzard_SettingsPanel.lua:761>
[string "=[C]"]: in function `DisplayCategory'
[string "@Blizzard_Settings_Shared/Blizzard_SettingsPanel.lua"]:736: in function <.../Blizzard_Settings_Shared/Blizzard_SettingsPanel.lua:729>
[string "=[C]"]: ?
[string "@Blizzard_SharedXMLBase/CallbackRegistry.lua"]:144: in function <...eBlizzard_SharedXMLBase/CallbackRegistry.lua:143>
[string "=[C]"]: ?
[string "@Blizzard_SharedXMLBase/CallbackRegistry.lua"]:147: in function `TriggerEvent'
[string "@Blizzard_Settings_Shared/Blizzard_CategoryList.lua"]:152: in function <...s/Blizzard_Settings_Shared/Blizzard_CategoryList.lua:150>

Locals:
field = "Author"
(*temporary) = nil
(*temporary) = "InFlight"
(*temporary) = "Author"
(*temporary) = "attempt to call global 'GetAddOnMetadata' (a nil value)"

This can be fixed by changing line number 779 from:

return GetAddOnMetadata("InFlight", field) or "N/A"

To this:

return C_AddOns.GetAddOnMetadata("InFlight", field) or "N/A"

In the file InFlight.lua within the addons InFlight folder

commented

updated in e23a809