Added checks to ensure that the player is on land when spawning (sometimes they would spawn in the ocean directly next to a beach)