Skip to content

Commit

Permalink
Remove base permission check for tags
Browse files Browse the repository at this point in the history
  • Loading branch information
jpenilla committed Oct 15, 2023
1 parent e264980 commit 3441ad6
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,6 @@ private TagPermissions() {
}

public static Component parseTags(final String basePermission, final String message, final Predicate<String> permission, final TagResolver.Builder resolver) {
if (!permission.test(basePermission)) {
return Component.text(message);
}

boolean hasAllDecorations = false;
for (final Map.Entry<String, TagResolver> entry : DEFAULT_TAGS.entrySet()) {
if (permission.test(basePermission + '.' + entry.getKey())) {
Expand Down

0 comments on commit 3441ad6

Please sign in to comment.