Run the permissible monitoring injector twice

This commit is contained in:
Luck 2018-02-24 14:08:36 +00:00
parent d0143f9e54
commit 4f4a387f04
No known key found for this signature in database
GPG Key ID: EFA9B3EC5FD90F8B

View File

@ -253,7 +253,8 @@ public class LPBukkitPlugin extends JavaPlugin implements LuckPermsPlugin {
Runnable[] injectors = new Runnable[]{ Runnable[] injectors = new Runnable[]{
new InjectorSubscriptionMap(this), new InjectorSubscriptionMap(this),
new InjectorPermissionMap(this), new InjectorPermissionMap(this),
new InjectorDefaultsMap(this) new InjectorDefaultsMap(this),
new PermissibleMonitoringInjector(this)
}; };
for (Runnable injector : injectors) { for (Runnable injector : injectors) {
@ -264,9 +265,6 @@ public class LPBukkitPlugin extends JavaPlugin implements LuckPermsPlugin {
this.scheduler.asyncLater(injector, 1L); this.scheduler.asyncLater(injector, 1L);
} }
// inject verbose handlers into internal bukkit objects
new PermissibleMonitoringInjector(this).run();
// Provide vault support // Provide vault support
tryVaultHook(false); tryVaultHook(false);