public static void patch() { HarmonyHelper.patchAll(true); MiscStuff.init(); PersistentConsoleCommands.register <ConsoleCommands>(); }
public static void patch() { HarmonyHelper.patchAll(true); LanguageHelper.init(); CraftHelper.patchAll(); PersistentConsoleCommands.register <ConsoleCommands>(); }
static void init() { if (consoleObject == null) { consoleObject = PersistentConsoleCommands.createGameObject <ConsoleCommands>(); DevConsole.disableConsole = !Main.config.consoleEnabled; } }
public static void patch() { HarmonyHelper.patchAll(true); if (config.addConsoleCommands) { PersistentConsoleCommands.register <ConsoleCommands>(); } }
public static void patch() { LanguageHelper.init(); PersistentConsoleCommands.register <ConsoleCommands>(); HarmonyHelper.patchAll(true); CraftHelper.patchAll(); GravTrapObjectsType.init(typesConfig); }
static void init() => PersistentConsoleCommands.register <CfgVarCommands>();
public static void init() { consoleCommands ??= PersistentConsoleCommands.createGameObject <SetGetCfgVarCommand>("ConfigConsoleCommands_" + Mod.id); }