public static void Load() { buildermodule.Patch(); Assembly assembly = Assembly.GetExecutingAssembly(); new Harmony($"MrPurple6411_{assembly.GetName().Name}").PatchAll(assembly); }
public static void Load() { try { var buildermodule = new BuilderModulePrefab(); buildermodule.Patch(); HarmonyInstance.Create("MrPurple6411.BuilderModule").PatchAll(Assembly.GetExecutingAssembly()); } catch (Exception ex) { Debug.LogException(ex); } }
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); } }