From 421f7603cf0fe550dfa47322c22f757e5cea5f48 Mon Sep 17 00:00:00 2001 From: Beef Date: Sun, 5 Feb 2023 00:10:34 +0000 Subject: [PATCH] [Plugins] I can be a little silly --- src/lib/plugins.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/plugins.ts b/src/lib/plugins.ts index 9f5f410..9d7d7e3 100644 --- a/src/lib/plugins.ts +++ b/src/lib/plugins.ts @@ -120,6 +120,6 @@ export async function initPlugins() { return stopAllPlugins; } -const stopAllPlugins = () => Object.keys(plugins).forEach(p => stopPlugin(p, false)); +const stopAllPlugins = () => Object.keys(loadedPlugins).forEach(p => stopPlugin(p, false)); export const getSettings = (id: string) => loadedPlugins[id]?.settings; \ No newline at end of file