aboutsummaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
authorNuckyz <61953774+Nuckyz@users.noreply.github.com>2023-04-30 10:34:38 -0300
committerGitHub <noreply@github.com>2023-04-30 13:34:38 +0000
commit08d88b326d22ab8ec84361bafeae5c45625a9a07 (patch)
tree615251d32532c47aa7657e9884d43f8bdae291ce /src/plugins
parenta73858d131ac8f05fa06f67fe5858f8f4959b13a (diff)
downloadVencord-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.ts2
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;
}