Exemplo n.º 1
0
 public static void Load()
 {
     try
     {
         var buildermodule = new BuilderModulePrefab();
         buildermodule.Patch();
         HarmonyInstance.Create("MrPurple6411.BuilderModule").PatchAll(Assembly.GetExecutingAssembly());
     }
     catch (Exception ex)
     {
         Debug.LogException(ex);
     }
 }
Exemplo n.º 2
0
        public static void Load()
        {
            try
            {
                var buildermodule = new BuilderModulePrefab();
                buildermodule.Patch();
                HarmonyInstance.Create("MrPurple6411.BuilderModule").PatchAll(Assembly.GetExecutingAssembly());

                if (Directory.Exists(inputFixFolder))
                {
                    QModServices.Main.AddCriticalMessage($"This mod no longer requires the BuilderModuleInputFix and that mod needs to be removed from your Qmods folder.");
                }
            }
            catch (Exception ex)
            {
                Debug.LogException(ex);
            }
        }