use of me.lucko.luckperms.bukkit.context.BukkitPlayerCalculator in project LuckPerms by lucko.
the class LPBukkitPlugin method setupContextManager.
@Override
protected void setupContextManager() {
this.contextManager = new BukkitContextManager(this);
BukkitPlayerCalculator playerCalculator = new BukkitPlayerCalculator(this, getConfiguration().get(ConfigKeys.DISABLED_CONTEXTS));
this.bootstrap.getServer().getPluginManager().registerEvents(playerCalculator, this.bootstrap.getLoader());
this.contextManager.registerCalculator(playerCalculator);
}
Aggregations