Refactor Contexts class

This commit is contained in:
Luck committed 2018-02-28 19:13:21 +00:00
1 parent 984bc5860f
commit 98fb9946e4
17 files changed
+291 -120

No files matched your search

@@ -40,7 +40,7 @@ public class BungeeContextManager extends AbstractContextManager<ProxiedPlayer>
@Override
public Contexts formContexts(ProxiedPlayer subject, ImmutableContextSet contextSet) {
return new Contexts(
return Contexts.of(
contextSet,
this.plugin.getConfiguration().get(ConfigKeys.INCLUDING_GLOBAL_PERMS),
this.plugin.getConfiguration().get(ConfigKeys.INCLUDING_GLOBAL_WORLD_PERMS),