*await on plugin
This commit is contained in:
parent
a0504443e6
commit
053eca0cf4
|
@ -179,7 +179,7 @@ export class PluginAPIManager {
|
|||
this.registeredPlugins.set(plugin.name, plugin);
|
||||
|
||||
try {
|
||||
plugin.plugin(
|
||||
await plugin.plugin(
|
||||
// @ts-ignore
|
||||
new Proxy<PluginAPI>(getPluginAPI(), {
|
||||
get(target: PluginAPI, prop: string): any {
|
||||
|
|
Loading…
Reference in New Issue