I relogged a few times, it didn't work, so I had to restart minecraft. Everything is fine now though!