*await on plugin loading

This commit is contained in:
Derrick Hammer 2023-03-29 16:23:17 -04:00
parent 2d30390fa2
commit 3600fbfdcf
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

View File

@ -163,7 +163,7 @@ export class PluginAPIManager {
this.registeredPlugins.set(plugin.name, plugin); this.registeredPlugins.set(plugin.name, plugin);
try { try {
plugin.plugin( await plugin.plugin(
// @ts-ignore // @ts-ignore
new Proxy<PluginAPI>(getPluginAPI(), { new Proxy<PluginAPI>(getPluginAPI(), {
get(target: PluginAPI, prop: string): any { get(target: PluginAPI, prop: string): any {