Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] setupEconomy 在 onEnable 阶段不一定可以捕获经济插件 #3

Open
Ghost-chu opened this issue Feb 21, 2022 · 0 comments

Comments

@Ghost-chu
Copy link

仅指定 Vault 为依赖的情况下,setupEconomy 方法可能比经济插件更早执行,从而无法捕获依赖。
应在首次执行 setupEconomy 失败后监听 PluginEnableEvent 再次检查经济插件的注册情况,而非直接进行错误处理。

Lori3f6 added a commit that referenced this issue Feb 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant