https://youtu.be/2UhlLvT89-M
I don't know how it happened, but I managed to log in twice to this LAN world. The video was taken on 1.19 but it might still affect 1.19.1. To attempt to reproduce try to connect to a server and on the serverside between the time it takes to authenticate you and for you to join on your screen leave or Alt+F4 and repeat until you stay connected to the server, now rejoin.
Thank you for your report!
We're tracking this issue in MC-74984, so this ticket is being resolved and linked as a duplicate.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki