public MAC(Main game)
            : base(game)
        {
            Order = -1;

            config = new MACconfig();
        }
Esempio n. 2
0
        public MAC(Main game)
            : base(game)
        {
            Order = -1;

            config = new MACconfig();
        }
Esempio n. 3
0
 public static void SetUpConfig()
 {
     try
     {
         if (!File.Exists(MAC.savePath))
         {
             MAC.config.Write(MAC.savePath);
         }
         else
         {
             MAC.config = MACconfig.Read(MAC.savePath);
         }
     }
     catch
     {
         Console.ForegroundColor = ConsoleColor.Red;
         Console.WriteLine("Invalid value in MoreAdminCommands.json");
         Console.ResetColor();
     }
 }