Error in config mode when no reputation to track is set
WPettersson opened this issue ยท 0 comments
I found an odd bug: If you don't have any faction set as "XP Bar" and enable config mode to anything, I get the following error. If I set any faction as my tracked faction, the error no longer appears.
I tested, and this occurs even if I Reset Profile.
This is on v4.2.26
Message: PitBull4_LuaTexts:Normal:Lua:Reputation caused the following error:
bad argument #3 to 'SetFormattedText' (number expected, got nil)
Time: Mon Mar 6 19:15:29 2023
Count: 1
Stack: PitBull4_LuaTexts:Normal:Lua:Reputation caused the following error:
bad argument #3 to 'SetFormattedText' (number expected, got nil)
[string "@Interface/AddOns/PitBull4/Modules/LuaTexts/LuaTexts.lua"]:880: in function <...erface/AddOns/PitBull4/Modules/LuaTexts/LuaTexts.lua:868>
[string "@Interface/AddOns/PitBull4/Modules/LuaTexts/LuaTexts.lua"]:952: in function <...erface/AddOns/PitBull4/Modules/LuaTexts/LuaTexts.lua:907>
[string "@Interface/AddOns/PitBull4/Modules/LuaTexts/LuaTexts.lua"]:1265: in function `?'
[string "@Interface/AddOns/Bartender4/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua"]:109: in function <...er4/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:109>
[string "=[C]"]: ?
[string "@Interface/AddOns/Bartender4/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua"]:19: in function <...er4/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:15>
[string "@Interface/AddOns/Bartender4/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua"]:54: in function `Fire'
[string "@Interface/AddOns/Bartender4/libs/AceEvent-3.0/AceEvent-3.0.lua"]:120: in function <...AddOns/Bartender4/libs/AceEvent-3.0/AceEvent-3.0.lua:119>
Locals: <none>