We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 205c06a commit 5ea793cCopy full SHA for 5ea793c
common/src/main/java/de/z0rdak/yawp/config/server/LoggingConfig.java
@@ -85,10 +85,12 @@ public static Set<String> getResultValuesToLog() {
85
private static boolean isValidTag(Object entity) {
86
if (entity instanceof String str) {
87
try {
88
+ if (str.equals("*")) {
89
+ return true;
90
+ }
91
FlagTag tag = FlagTagRegister.from(ResourceLocation.tryParse(str));
92
// if no exception was thrown, it's a valid tag
- // special case for wildcard
- return str.equalsIgnoreCase("*");
93
+ return tag != null;
94
} catch (IllegalArgumentException e) {
95
LOGGING_CONFIG_LOGGER.warn("Invalid flag category supplied for 'log_flag_categories': {}", entity);
96
return false;
0 commit comments