Open ibmibmibm opened 8 months ago
There would be no instance when a UUID user would have the same name unless it's a really old user account, in which it should be removed from extracted.yml before restoring
Do you have a pastebin of your extracted.yml?
Original extracted.yml: https://pastebin.ubuntu.com/p/zW3g8VS7Gb/ Manually added missing account data: https://pastebin.ubuntu.com/p/JZV36FNzgy/
Original extracted.yml: https://pastebin.ubuntu.com/p/zW3g8VS7Gb/ Manually added missing account data: https://pastebin.ubuntu.com/p/JZV36FNzgy/
That didn't clear up too much, what was added to the updated file?
Is it when two player accounts have the same username? Is it when a player and non-player account have the same name? Is it when two non-player accounts have the same name?
It's two player accounts have the same username(display_name).
It's two player accounts have the same username(display_name).
Gotcha, I'll probably add a check to remove the duplicate name from the extracted.yml file completely. If the player data for that player is that old then I think it's safe to say they are a "defunct" player.
TNE Version
0.1.2.5
Spigot Version
1.20.2
Your config.yml
https://pastebin.ubuntu.com/p/FHpwnby6Z7/
Your latest server log
https://pastebin.ubuntu.com/p/ZFDKcZ6njc/
What modules are you using?
No response
What part of TNE is the bug affecting?
Transactions
Is your server using online mode?
Yes
Bug description
Old data restoration failed when different uuid user has same name
How to reproduce