Check if the player is online before checking if they're dead.