Wutname1 / SpartanUI

SpartanUI
http://spartanui.net
Mozilla Public License 2.0
28 stars 10 forks source link

[Wrath Bug Report] Lua error when mousing over same faction players #509

Closed zeress closed 2 months ago

zeress commented 2 months ago

Describe the bug A stream of lua errors occurs when mousing over players of the same faction. This does not occur for hostile faction players.

To Reproduce Steps to reproduce the behavior:

  1. Go to Dalaran
  2. Mouse over a player of your faction
  3. Note the error
  4. Mouse over a player not of your faction
  5. Note the lack of error

Game details: Client Version: 4.4.0.54647 SUI Version 6.2.8-Classic, Build 1930 Bartender4 Version: 4.14.17

16x SpartanUI/modules/Chatbox.lua:316: attempt to index upvalue 'ChatLevelLog' (a nil value)
[string "@SpartanUI/modules/Chatbox.lua"]:316: in function `?'
[string "@Ace3/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:109: in function <...Ons/Ace3/CallbackHandler-1.0/CallbackHandler-1.0.lua:109>
[string "=[C]"]: ?
[string "@Ace3/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:19: in function <...Ons/Ace3/CallbackHandler-1.0/CallbackHandler-1.0.lua:15>
[string "@Ace3/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:54: in function `Fire'
[string "@Ace3/AceEvent-3.0-4/AceEvent-3.0.lua"]:120: in function <Ace3/AceEvent-3.0/AceEvent-3.0.lua:119>

Locals:
n = "Tukapack"
s = nil
l = 80
(*temporary) = nil
(*temporary) = "80"
(*temporary) = "80"
(*temporary) = "attempt to index upvalue 'ChatLevelLog' (a nil value)"
ChatLevelLog = nil