Also your game tried to launch a world you just deleted. And your realms broke apparently.
I think it might be your fault, you might have been moving to fast, that's what I get from the code but I don't fully understand the Minecraft game-code yet(Sorry thought Applepug was another person, not you, that's how much I don't understand it)
Also your game tried to launch a world you just deleted. And your realms broke apparently.