funkydude / BasicMinimap

BasicMinimap is a basic solution to a clean, square minimap for World of Warcraft.
17 stars 10 forks source link

Error after reloading UI in Oribos Inn #56

Closed Caedilla closed 3 years ago

Caedilla commented 3 years ago

Following Lua Error after reloading UI when in the new Inn in Oribos. It doesn't occur on a fresh login, only after reloading UI. Haven't tested in other locations.

1x BasicMinimap\BasicMinimap-v9.0.9.lua:352: attempt to call a nil value [string "@BasicMinimap\BasicMinimap-v9.0.9.lua"]:352: in function update' [string "@BasicMinimap\BasicMinimap-v9.0.9.lua"]:356: in function <BasicMinimap\BasicMinimap.lua:280> [string "@BasicMinimap\BasicMinimap-v9.0.9.lua"]:707: in function?' [string "@BasicMinimap\BasicMinimap-v9.0.9.lua"]:721: in function <BasicMinimap\BasicMinimap.lua:720>

Locals: self = { 0 = } text = "The Idyllia" pvpType = "sanctuary" (temporary) = nil (temporary) = "attempt to call a nil value" GetMinimapZoneText = defined =[C]:-1 zoneTextFont = { 0 = } GetZonePVPInfo = defined =[C]:-1 frame = BasicMinimap { 0 = PET_BATTLE_CLOSE = defined @BasicMinimap\BasicMinimap.lua:679 ADDON_LOADED = defined @BasicMinimap\BasicMinimap.lua:684 mask = { } backdrop = { } blizzButtonPositions =

{ } coords = { } LOADING_SCREEN_DISABLED = defined @BasicMinimap\BasicMinimap.lua:702 CALENDAR_ACTION_PENDING = defined @BasicMinimap\BasicMinimap.lua:663 PET_BATTLE_OPENING_START = defined @BasicMinimap\BasicMinimap.lua:674 db =
{ } clock = { } HideButtons = defined @BasicMinimap\BasicMinimap.lua:34 CALENDAR_UPDATE_PENDING_INVITES = defined @BasicMinimap\BasicMinimap.lua:663 }

funkydude commented 3 years ago

I didn't want to return to Oribos currently to test, but looking at the code, I believe it was unrelated. Seems that you were just coincidentally having the mouse over the ZoneText when reloading.