This commit is contained in:
duke dennis 2024-10-27 15:32:44 +00:00
parent 585a1035c0
commit 59c84ebb5d

View file

@ -67,7 +67,7 @@ function getEnabledPlugins() {
let userpluginsCount = 0;
Object.entries(Vencord.Plugins.plugins).forEach(([key, value]) => {
if (value.started) if (PluginMeta[value.name].userPlugin) userpluginsCount++; else counter++;
if (value.started) if (PluginMeta[value.name]?.userPlugin) userpluginsCount++; else counter++;
});
return `${counter} (official)` + (userpluginsCount ? `, ${userpluginsCount} (userplugins)` : "");