remove need to depend on CommandsAPI

This commit is contained in:
Vendicated 2024-09-18 01:26:25 +02:00
parent 6cce8a8bc4
commit 65c5897dc3
No known key found for this signature in database
GPG key ID: D66986BAF75ECF18
12 changed files with 12 additions and 13 deletions

View file

@ -105,6 +105,11 @@ for (const p of pluginsValues) if (isPluginEnabled(p.name)) {
settings[d].enabled = true;
dep.isDependency = true;
});
if (p.commands?.length) {
Plugins.CommandsAPI.isDependency = true;
settings.CommandsAPI.enabled = true;
}
}
for (const p of pluginsValues) {