GetAddOnMetadata Error
nancikennedy opened this issue ยท 3 comments
On Retail (11.0.2), using OBG v1.35, getting the following error:
1x OpenableBeGone/Main.lua:80: attempt to call global 'GetAddOnMetadata' (a nil value)
[string "@OpenableBeGone/Main.lua"]:80: in function OnTooltipShow' [string "@Bazooka/Bazooka.lua"]:1588: in function
showTip'
[string "@Bazooka/Bazooka.lua"]:1388: in function <Bazooka/Bazooka.lua:1379>
Locals:
tt = GameTooltip {
ItemTooltip = Frame {
}
BottomOverlay = Texture {
}
NineSlice = Frame {
}
textLeft1Font = "GameTooltipHeaderText"
textRight2Font = "GameTooltipText"
TopOverlay = Texture {
}
TextLeft1 = GameTooltipTextLeft1 {
}
StatusBar = GameTooltipStatusBar {
}
updateElapsed = 0
supportsDataRefresh = true
CIMI_tooltipWritten = false
waitingForData = false
model = PlayerModel {
}
BigFactionIcon = Texture {
}
style = Frame {
}
shoppingTooltips =
}
updateTooltipTimer = 0.200000
TextRight1 = GameTooltipTextRight1 {
}
supportsItemComparison = true
textRight1Font = "GameTooltipHeaderText"
layoutType = "TooltipDefaultLayout"
textLeft2Font = "GameTooltipText"
TextRight2 = GameTooltipTextRight2 {
}
TextLeft2 = GameTooltipTextLeft2 {
}
}
(*temporary) = nil
(*temporary) = "OpenableBeGone"
(*temporary) = "Title"
(*temporary) = "attempt to call global 'GetAddOnMetadata' (a nil value)"
Fix: Change all occurences of GetAddOnMetadata with C_AddOns.GetAddOnMetadata
Fixed in 41aaf6c