[Plugins] I can be a little silly

This commit is contained in:
Beef 2023-02-05 00:10:34 +00:00
parent a97293673d
commit 421f7603cf

View file

@ -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;