dapal-003 / Openable-be-gone

Auto Open Anything is a WoW addon that automatically opens all containers directly after looting them
GNU General Public License v3.0
0 stars 1 forks source link

GetAddOnMetadata Error #3

Open nancikennedy opened 2 months ago

nancikennedy commented 2 months ago

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 functionshowTip' [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)"

nancikennedy commented 2 months ago

Fix: Change all occurences of GetAddOnMetadata with C_AddOns.GetAddOnMetadata

nancikennedy commented 2 months ago

I installed 1.37 and it looks like none of the changes have been included in that build. Am I incorrect in thinking they should be?