Neuron

Neuron

98.2k Downloads

STATUSBTN.lua:150: attempt to compare number with nil

Kolargol00 opened this issue ยท 1 comments

commented

Issue description:

I get LUA error STATUSBTN.lua:150: attempt to compare number with nil whenever my character gains XP or enters a zone.

How to reproduce:

  1. Kill a mob awarding XP or go to a different zone.
  2. See error

Technical info:

  • Addon Version: 1.4.3
  • Client: Retail
  • Client Patch Version: 9.0.2.36949

Lua error log:

Message: Interface\AddOns\Neuron\Objects\STATUSBTN.lua:150: attempt to compare number with nil
Time: Sat Dec 19 13:41:52 2020
Count: 141
Stack: Interface\AddOns\Neuron\Objects\STATUSBTN.lua:150: attempt to compare number with nil
[string "@Interface\AddOns\Neuron\Objects\STATUSBTN.lua"]:150: in function `xpstrings_Update'
[string "@Interface\AddOns\Neuron\Objects\STATUSBTN.lua"]:244: in function `?'
[string "@Interface\AddOns\DataStore\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua"]:119: in function <...ore\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:119>
[string "=[C]"]: ?
[string "@Interface\AddOns\DataStore\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua"]:29: in function <...ore\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:25>
[string "@Interface\AddOns\DataStore\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua"]:64: in function `Fire'
[string "@Interface\AddOns\DataStore\libs\AceEvent-3.0\AceEvent-3.0.lua"]:120: in function <...\AddOns\DataStore\libs\AceEvent-3.0\AceEvent-3.0.lua:119>

Locals: <none>
commented

Apologies for this. I'll get a fix out asap. Feel free to roll back the the previous version until I get it solved