This is happening to me and it's extremely frustrating. I've tried on a modded server, and it doesn't work. I uninstalled all mods and reinstalled the game and it doesn't work. Still searching for solutions but I only know of 3 people who this has happened to in the past few days. Hopefully this gets fixed or I find a solution fast!