Wuild / GatherLite

World of Warcraft: Classic Gathering addon keeping track on where you have found stuff
MIT License
32 stars 16 forks source link

attempt to compare nil with number #154

Closed remyspaan closed 4 years ago

remyspaan commented 4 years ago

I always get this message when I load a zone or /ReloadUI

Debugging details:

On ReloadUI / Loading Game / Loading continent

Message: Interface\AddOns\GatherLite\scripts/methods.lua:743: attempt to compare nil with number Time: Sat Jul 25 19:10:59 2020 Count: 1 Stack: Interface\AddOns\GatherLite\scripts/methods.lua:743: attempt to compare nil with number

[string "@Interface\AddOns\GatherLite\scripts/methods.lua"]:743: in function cb' [string "@Interface\AddOns\GatherLite\scripts/methods.lua"]:714: in functionforEach' [string "@Interface\AddOns\GatherLite\scripts/methods.lua"]:734: in function `?' [string "@Interface\AddOns\ElvUI\Libraries\Ace3\AceTimer-3.0\AceTimer-3.0.lua"]:55: in function <...s\ElvUI\Libraries\Ace3\AceTimer-3.0\AceTimer-3.0.lua:50>

Locals:

When loading the map (pressing M):

Message: Interface\AddOns\GatherLite\scripts/methods.lua:881: attempt to index global 'WorldMapContinentDropDown' (a nil value) Time: Sat Jul 25 19:12:51 2020 Count: 1 Stack: Interface\AddOns\GatherLite\scripts/methods.lua:881: attempt to index global 'WorldMapContinentDropDown' (a nil value)

[string "@Interface\AddOns\GatherLite\scripts/methods.lua"]:881: in function <Interface\AddOns\GatherLite\scripts/methods.lua:876>

Locals:

Maybe it has something to do with the combination with ElvUI?

Wuild commented 4 years ago

Should be fixed now