/// <summary> /// Sends a private message. /// </summary> /// <param name="player">Player.</param> /// <param name="message">Message.</param> public static void SendPrivate(Player player, string message) { try { player.getUserManager().GetWriter().WriteLine(message); } catch (Exception) { Leave e = new Leave("Someone has left the game..."); throw e; } }