mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2026-11-25 16:54:26 +00:00
Apply Sponge implicit wildcards after Bukkit style .* wildcards
This commit is contained in:
2 files changed
+5
-5
No files matched your search
+4
-4
@@ -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()));
|
||||
|
||||
Reference in new issue
Block a user