diff options
author | Nuckyz <61953774+Nuckyz@users.noreply.github.com> | 2023-04-30 10:34:38 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-30 13:34:38 +0000 |
commit | 08d88b326d22ab8ec84361bafeae5c45625a9a07 (patch) | |
tree | 615251d32532c47aa7657e9884d43f8bdae291ce /src/plugins | |
parent | a73858d131ac8f05fa06f67fe5858f8f4959b13a (diff) | |
download | Vencord-08d88b326d22ab8ec84361bafeae5c45625a9a07.tar.gz Vencord-08d88b326d22ab8ec84361bafeae5c45625a9a07.tar.bz2 Vencord-08d88b326d22ab8ec84361bafeae5c45625a9a07.zip |
Fix Plugin Reporting false dependency errors and other stuff (#1017)
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/index.ts | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |