Only try to send the message if the player is online.