kemayo / wow-handynotes-dragonflight

World of Warcraft addon to tell you where treasures are in the Dragon Isles (requires HandyNotes)
7 stars 3 forks source link

[Bug] Forbidden Hoard Lua Error: attempt to call method 'AddToTooltip' (a nil value) #40

Closed F-Lambda closed 1 month ago

F-Lambda commented 1 month ago

Getting the following Lua error when hovering over Forbidden Hoards in the locked (not yet lootable) state.

Handy Notes version: v1.6.21 Dragonflight Treasures version: v63

Message: ...HandyNotes_DragonflightTreasures/handler/handler.lua:938: attempt to call method 'AddToTooltip' (a nil value)
Time: Wed Oct  2 12:34:07 2024
Count: 1
Stack: ...HandyNotes_DragonflightTreasures/handler/handler.lua:938: attempt to call method 'AddToTooltip' (a nil value)
[string "@Interface/AddOns/HandyNotes_DragonflightTreasures/handler/handler.lua"]:938: in function <...HandyNotes_DragonflightTreasures/handler/handler.lua:934>
[string "@Interface/AddOns/HandyNotes_DragonflightTreasures/handler/handler.lua"]:996: in function <...HandyNotes_DragonflightTreasures/handler/handler.lua:947>
[string "@Interface/AddOns/HandyNotes_DragonflightTreasures/handler/handler.lua"]:1606: in function <...HandyNotes_DragonflightTreasures/handler/handler.lua:1601>
[string "=[C]"]: ?

Locals: tooltip = GameTooltip {
 waitingForData = false
 shoppingTooltips = <table> {
 }
 updateTooltipTimer = 0.042000
 ItemTooltip = Frame {
 }
 StatusBar = GameTooltipStatusBar {
 }
 TextRight1 = GameTooltipTextRight1 {
 }
 supportsItemComparison = true
 supportsDataRefresh = true
 BottomOverlay = Texture {
 }
 NineSlice = Frame {
 }
 textRight1Font = "GameTooltipHeaderText"
 textLeft1Font = "GameTooltipHeaderText"
 textRight2Font = "GameTooltipText"
 TopOverlay = Texture {
 }
 layoutType = "TooltipDefaultLayout"
 TextLeft1 = GameTooltipTextLeft1 {
 }
 textLeft2Font = "GameTooltipText"
 TextRight2 = GameTooltipTextRight2 {
 }
 TextLeft2 = GameTooltipTextLeft2 {
 }
}
item = <table> {
 1 = 197000
 quest = 69200
}
(*temporary) = nil
(*temporary) = <table> {
 1 = 197000
 quest = 69200
}
(*temporary) = GameTooltip {
 waitingForData = false
 shoppingTooltips = <table> {
 }
 updateTooltipTimer = 0.042000
 ItemTooltip = Frame {
 }
 StatusBar = GameTooltipStatusBar {
 }
 TextRight1 = GameTooltipTextRight1 {
 }
 supportsItemComparison = true
 supportsDataRefresh = true
 BottomOverlay = Texture {
 }
 NineSlice = Frame {
 }
 textRight1Font = "GameTooltipHeaderText"
 textLeft1Font = "GameTooltipHeaderText"
 textRight2Font = "GameTooltipText"
 TopOverlay = Texture {
 }
 layoutType = "TooltipDefaultLayout"
 TextLeft1 = GameTooltipTextLeft1 {
 }
 textLeft2Font = "GameTooltipText"
 TextRight2 = GameTooltipTextRight2 {
 }
 TextLeft2 = GameTooltipTextLeft2 {
 }
}
(*temporary) = "attempt to call method 'AddToTooltip' (a nil value)"
ns = <table> {
 PROF_DF_INSCRIPTION = 2828
 CLASSIC = false
 MAXLEVEL = <table> {
 }
 suppressoverlay = <table> {
 }
 PROF_DF_TAILORING = 2831
 groups = <table> {
 }
 WAKINGSHORES = 2022
 points = <table> {
 }
 hidden = <table> {
 }
 EMERALDDREAM = 2200
 ZARALEKCAVERN = 2133
 hiddenConfig = <table> {
 }
 HL = <table> {
 }
 tooltipHelpers = <table> {
 }
 currencies = <table> {
 }
 rewards = <table> {
 }
 FACTION_DREAMWARDENS = 2574
 FACTION_ISKAARA = 2511
 db = <table> {
 }
 PROF_DF_SKINNING = 2834
 PROF_DF_MINING = 2833
 PROF_DF_COOKING = 2824
 PROF_DF_JEWELCRAFTING = 2829
 PROF_DF_HERBALISM = 2832
 AZURESPAN = 2024
 PROF_DF_FISHING = 2826
 PROF_DF_ENGINEERING = 2827
 PROF_DF_ENCHANTING = 2825
 PROF_DF_LEATHERWORKING = 2830
 map_spellids = <table> {
 }
 playerFaction = "Horde"
 PROF_DF_BLACKSMITHING = 2822
 PROF_DF_ALCHEMY = 2823
 POIsToPoints = <table> {
 }
 playerClassMask = 8
 options = <table> {
 }
 playerClassColor = <table> {
 }
 FORBIDDENREACHINTRO = 2118
 DEBUG = false
 FACTION_LOAMM = 2564
 FACTION_MARUUK = 2503
 WorldQuestsToPoints = <table> {
 }
 defaults = <table> {
 }
 Class = <table> {
 }
 playerClassLocal = "Rogue"
 OHNAHRANPLAINS = 2023
 FORBIDDENREACH = 2151
 THALDRASZUS = 2025
 RouteWorldMapDataProvider = <table> {
 }
 FACTION_VALDRAKKEN = 2510
 VignetteIDsToPoints = <table> {
 }
 covenants = <table> {
 }
 PRIMALISTFUTURE = 2085
 VALDRAKKEN = 2112
 MinimapRoutePinMixin = <table> {
 }
 run_caches = <table> {
 }
 DRAGONRIDING = <table> {
 }
 RouteMiniMapDataProvider = <table> {
 }
 WARBANDS_AVAILABLE = true
 DecorationWorldMapDataProvider = <table> {
 }
 playerName = "Sylvànna"
 playerClass = "ROGUE"
 FACTION_DRAGONSCALE = 2507
kemayo commented 1 month ago

Okay, new release is going out that should fix this.