The code following this has better support for null worlds to move them back to the world spawn.
If the playerdata contains an invalid world (missing, unloaded, invalid, etc.), spawn the player at the spawn point of the main world. Co-authored-by: Wyatt Childers <wchilders@nearce.com> Co-authored-by: Jake Potrebic <jake.m.potrebic@gmail.com>