From 08d88b326d22ab8ec84361bafeae5c45625a9a07 Mon Sep 17 00:00:00 2001 From: Nuckyz <61953774+Nuckyz@users.noreply.github.com> Date: Sun, 30 Apr 2023 10:34:38 -0300 Subject: Fix Plugin Reporting false dependency errors and other stuff (#1017) --- src/plugins/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plugins') diff --git a/src/plugins/index.ts b/src/plugins/index.ts index ab69ca7..404f638 100644 --- a/src/plugins/index.ts +++ b/src/plugins/index.ts @@ -99,9 +99,9 @@ export function startDependenciesRecursive(p: Plugin) { if (!Settings.plugins[dep].enabled) { startDependenciesRecursive(Plugins[dep]); // If the plugin has patches, don't start the plugin, just enable it. + Settings.plugins[dep].enabled = true; if (Plugins[dep].patches) { logger.warn(`Enabling dependency ${dep} requires restart.`); - Settings.plugins[dep].enabled = true; restartNeeded = true; return; } -- cgit