It's either a glitch with the server, a glitch with the client, or somebody hacked into your account. Hopefully, it is not the third one. I wish I could help resolve this issue, but sadly, there is nothing I can do.
I would do what other people have said in this thread already. Try restarting your computer, as this is the solution to most of peoples problems like this If that doesn't work, lets hope for the better. Try contacting the staff of the server, and tell them about it. If it truly is someone hacking your mc account, I don't know what else to do. But the best thing to do right now, is tell staff about it. Maybe they could help.
This happens to me No one hacks me Its just a glitch that i have :/ If someone is hacking ur account: Change ur MC pass so next time they log in it logs them out
It's happends normally when you timeout or when you're having a lot of lag, it makes a clone and only way to remove it, well a staff needs to kick it from the game and it should be fixed, I needed that once as I was lagging a lot on skyblock 1 and then I left and I tryed to join I couldn't I got that message as well, so ask a staff to kick you on the last mini-game/game you were on, and it might so handled or restart mc or restart your pc, that's my options, I hoped I helped you out.