mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-01 22:15:08 +00:00
Remove base permission check for tags
This commit is contained in:
1 file changed
-4
@@ -54,10 +54,6 @@ public final class 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())) {
|
||||
|
||||
Reference in new issue
Block a user