Add method to unregister context calculators (#1422)

This commit is contained in:
Luck
2019-02-07 12:24:23 +00:00
Unverified
parent d91355e4d6
commit 85d2f0b51f
5 changed files with 17 additions and 22 deletions
@@ -141,7 +141,7 @@ public class LPBungeePlugin extends AbstractLuckPermsPlugin {
this.contextManager.registerCalculator(new BackendServerCalculator(this));
if (this.bootstrap.getProxy().getPluginManager().getPlugin("RedisBungee") != null) {
this.contextManager.registerStaticCalculator(new RedisBungeeCalculator());
this.contextManager.registerCalculator(new RedisBungeeCalculator());
}
}