Level data not working
Mythos opened this issue · 0 comments
Mythos commented
Hi, I'm having an issue with level data not being shown for a long time.
I've added some debug messages locally to find the root cause of that issue.
Apparently Module.db.realm.names
contains names without Realm information.
The code which gets the level requires it though.
As an explanation:
I've added debug messages in PlayerNames.lua
. The first table is Module.db.realm.names
in the function changeName()
. (just to see how data is stored)
The debug message "Name" is for the parameter name
of that function which contains Character name and Realm name.
The debug message "Tab" is for the line local tab = Module.db.realm.names[name] or localNames[name]
which is nil