public static void Patch() { try { QuickLogger.Message("Start patching. Version: " + QuickLogger.GetAssemblyVersion()); var vmodFabricator = new VModFabricatorModule(); vmodFabricator.Patch(); QuickLogger.Message("Finished patching"); } catch (Exception ex) { QuickLogger.Error("EXCEPTION on Patch: " + ex.ToString()); } }
public static void Patch() { #if DEBUG try { Console.WriteLine($"[VModFabricator] Start patching"); #endif var vmodFabricator = new VModFabricatorModule(); vmodFabricator.Patch(); #if DEBUG Console.WriteLine($"[VModFabricator] Finish patching"); } catch (Exception ex) { Console.WriteLine("[VModFabricator] EXCEPTION on Patch: " + ex.ToString()); } #endif }