mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2025-02-12 18:31:56 +01:00
Hook into Vault after other plugins have loaded.
https://github.com/BentoBoxWorld/BentoBox/issues/1913
This commit is contained in:
parent
eaf2236f7f
commit
00e174258e
@ -146,7 +146,6 @@ public class BentoBox extends JavaPlugin {
|
||||
|
||||
// Load hooks
|
||||
hooksManager = new HooksManager(this);
|
||||
hooksManager.registerHook(new VaultHook());
|
||||
|
||||
// Load addons. Addons may load worlds, so they must go before islands are loaded.
|
||||
addonsManager = new AddonsManager(this);
|
||||
@ -166,6 +165,8 @@ public class BentoBox extends JavaPlugin {
|
||||
|
||||
private void completeSetup(long loadTime) {
|
||||
final long enableStart = System.currentTimeMillis();
|
||||
hooksManager.registerHook(new VaultHook());
|
||||
|
||||
hooksManager.registerHook(new PlaceholderAPIHook());
|
||||
// Setup the Placeholders manager
|
||||
placeholdersManager = new PlaceholdersManager(this);
|
||||
|
@ -26,6 +26,7 @@ softdepend:
|
||||
- WildStacker
|
||||
- LuckPerms
|
||||
- HolographicDisplays
|
||||
- EconomyPlus
|
||||
|
||||
permissions:
|
||||
bentobox.admin:
|
||||
|
Loading…
Reference in New Issue
Block a user