You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unsure if the addon is still being supported or not, but the update to 11.0.2 is causing it to produce errors when logging into the game. Thanks.
5x HandyNotes_WellRead/Addon.lua:15: attempt to call global 'GetAddOnMetadata' (a nil value)
[string "@HandyNotes_WellRead/Addon.lua"]:15: in main chunk
Just replace
local ADDON_NAME = ...
local HandyNotes = LibStub("AceAddon-3.0"):GetAddon("HandyNotes")
local ACHIEVEMENT_ID = 1244
local ICON = "Interface\AddOns\HandyNotes_WellRead\Book"
local ADDON_TITLE = GetAddOnMetadata(ADDON_NAME, "Title")
local ACHIEVEMENT_NAME = select(2, GetAchievementInfo(ACHIEVEMENT_ID))
with the new one
local ADDON_NAME = ...
local HandyNotes = LibStub("AceAddon-3.0"):GetAddon("HandyNotes")
local ACHIEVEMENT_ID = 1244
local ICON = "Interface\AddOns\HandyNotes_WellRead\Book"
-- Check if GetAddOnMetadata exists
local ADDON_TITLE
if GetAddOnMetadata then
ADDON_TITLE = GetAddOnMetadata(ADDON_NAME, "Title")
else
ADDON_TITLE = "HandyNotes Well Read" -- Fallback title
end
local ACHIEVEMENT_NAME = select(2, GetAchievementInfo(ACHIEVEMENT_ID))
Unsure if the addon is still being supported or not, but the update to 11.0.2 is causing it to produce errors when logging into the game. Thanks.
5x HandyNotes_WellRead/Addon.lua:15: attempt to call global 'GetAddOnMetadata' (a nil value)
[string "@HandyNotes_WellRead/Addon.lua"]:15: in main chunk
Locals:
{ADDON_NAME = "HandyNotes_WellRead"
HandyNotes =
modules =
}
plugins =
}
defaultModuleLibraries =
}
name = "HandyNotes"
orderedModules =
}
baseName = "HandyNotes"
db =
}
WorldMapDataProvider =
}
enabledState = true
defaultModuleState = true
}
ACHIEVEMENT_ID = 1244
ICON = "Interface\AddOns\HandyNotes_WellRead\Book"
(*temporary) = nil
(*temporary) = "HandyNotes_WellRead"
(*temporary) = "Title"
(*temporary) = "attempt to call global 'GetAddOnMetadata' (a nil value)"
The text was updated successfully, but these errors were encountered: