Apply Sponge implicit wildcards after Bukkit style .* wildcards

This commit is contained in:
Luck 2018-06-24 21:44:12 +01:00
parent 6f96d9c7d1
commit b4ff54ffc8
No known key found for this signature in database
GPG Key ID: EFA9B3EC5FD90F8B
2 changed files with 5 additions and 5 deletions

View File

@ -106,7 +106,7 @@ public class LPNukkitBootstrap extends PluginBase implements LuckPermsBootstrap
@Override
public void onLoad() {
this.logger = new NukkitPluginLogger(getLogger());
try {
this.plugin.load();
} finally {

View File

@ -54,10 +54,6 @@ public class SpongeCalculatorFactory implements CalculatorFactory {
processors.add(new MapProcessor());
if (this.plugin.getConfiguration().get(ConfigKeys.APPLY_SPONGE_IMPLICIT_WILDCARDS)) {
processors.add(new SpongeWildcardProcessor());
}
if (this.plugin.getConfiguration().get(ConfigKeys.APPLYING_REGEX)) {
processors.add(new RegexProcessor());
}
@ -66,6 +62,10 @@ public class SpongeCalculatorFactory implements CalculatorFactory {
processors.add(new WildcardProcessor());
}
if (this.plugin.getConfiguration().get(ConfigKeys.APPLY_SPONGE_IMPLICIT_WILDCARDS)) {
processors.add(new SpongeWildcardProcessor());
}
if (this.plugin.getConfiguration().get(ConfigKeys.APPLY_SPONGE_DEFAULT_SUBJECTS)) {
if (metadata.getHolderType().isUser()) {
processors.add(new UserDefaultsProcessor(this.plugin.getService(), contexts.getContexts().makeImmutable()));