public void Init() { KhaiosUtil.Init(); if (!Main.dedServ) { KhaiosInterface = new UserInterface(); } }
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"); } }