Example #1
0
 public void Init()
 {
     KhaiosUtil.Init();
     if (!Main.dedServ)
     {
         KhaiosInterface = new UserInterface();
     }
 }
Example #2
0
 public override void Load()
 {
     if (ModLoader.version < new Version(0, 11, 6, 1))
     {
         KhaiosUtil.Log("Out of data tModLoader. Version {0} recommended!", (new Version(0, 11, 6, 1).ToString()));
     }
     try
     {
         instance = this;
         Init();
     } catch (Exception e)
     {
         KhaiosUtil.Log("Load:\n " + e.Message + "\n" + e.StackTrace + "\n");
     }
 }