HandyNotes: Visions of N'Zoth

HandyNotes: Visions of N'Zoth

4M Downloads

HandyNotes_Legion lua error

pepedressingroom opened this issue ยท 1 comments

commented

HandyNotes_Legion: (PTR client)

Describe the bug
I got lua error when load HandyNotes_Legion.
My lang was set to zhCN, with time zone in CST.
And the PTR client even crashed after reloading when in Broken Isles.

Message: ...rface/AddOns/HandyNotes_Legion/localization/enUS.lua:121: attempt to concatenate local 'tz' (a nil value)
Time: Tue Oct  3 11:17:29 2023
Count: 1
Stack: ...rface/AddOns/HandyNotes_Legion/localization/enUS.lua:121: attempt to concatenate local 'tz' (a nil value)
[string "@Interface/AddOns/HandyNotes_Legion/localization/enUS.lua"]:121: in main chunk

Locals: ADDON_NAME = "HandyNotes_Legion"
ns = <table> {
 AsIDTable = <function> defined @Interface/AddOns/HandyNotes_Legion/core/util.lua:231
 NameResolver = <table> {
 }
 color = <table> {
 }
 Class = <function> defined @Interface/AddOns/HandyNotes_Legion/core/class.lua:10
 PlayerHasProfession = <function> defined @Interface/AddOns/HandyNotes_Legion/core/util.lua:166
 status = <table> {
 }
 COLORS = <table> {
 }
 AsTable = <function> defined @Interface/AddOns/HandyNotes_Legion/core/util.lua:223
 RenderLinks = <function> defined @Interface/AddOns/HandyNotes_Legion/core/util.lua:70
 IsInstance = <function> defined @Interface/AddOns/HandyNotes_Legion/core/class.lua:86
 tooltip = <table> {
 }
 getARGB = <function> defined @Interface/AddOns/HandyNotes_Legion/core/colors.lua:39
 PrepareLinks = <function> defined @Interface/AddOns/HandyNotes_Legion/core/util.lua:54
 IsClass = <function> defined @Interface/AddOns/HandyNotes_Legion/core/class.lua:82
 NewLocale = <function> defined @Interface/AddOns/HandyNotes_Legion/core/util.lua:204
 professions = <table> {
 }
 PlayerHasItem = <function> defined @Interface/AddOns/HandyNotes_Legion/core/util.lua:162
 Clone = <function> defined @Interface/AddOns/HandyNotes_Legion/core/class.lua:96
 GetDatabaseTable = <function> defined @Interface/AddOns/HandyNotes_Legion/core/util.lua:178
}
L = <table> {
}
Gold = <function> defined @Interface/AddOns/HandyNotes_Legion/core/colors.lua:32
tz = nil
(*temporary) = "Every Saturday night at midnight ("
(*temporary) = nil
(*temporary) = ") {npc:97003} will drop his chest on the ground for a couple hours and leave."
(*temporary) = "CST"
(*temporary) = "CST"
(*temporary) = "attempt to concatenate local 'tz' (a nil value)"
commented

Thats normal on PTR because GetCurrentRegion() returns 72 on ptr.