Properly check if player is in proper world

And some formatting