aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-01-13 19:53:49 +0100
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-01-13 19:53:49 +0100
commit4aefc67250d485f9196d2a911f6ec22b5dd17bf5 (patch)
tree0068e652a0724d1e91eb84072c9ae9f77dd021f5 /src/main/java/at/hannibal2
parentf91ec749011d318af0b823535daed4aef890db5f (diff)
downloadskyhanni-4aefc67250d485f9196d2a911f6ec22b5dd17bf5.tar.gz
skyhanni-4aefc67250d485f9196d2a911f6ec22b5dd17bf5.tar.bz2
skyhanni-4aefc67250d485f9196d2a911f6ec22b5dd17bf5.zip
Successfully hiding console message "A team with the name x already exist" message.
Diffstat (limited to 'src/main/java/at/hannibal2')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/utils/MinecraftConsoleFilter.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/utils/MinecraftConsoleFilter.kt b/src/main/java/at/hannibal2/skyhanni/utils/MinecraftConsoleFilter.kt
index 1036dab62..da359ff1e 100644
--- a/src/main/java/at/hannibal2/skyhanni/utils/MinecraftConsoleFilter.kt
+++ b/src/main/java/at/hannibal2/skyhanni/utils/MinecraftConsoleFilter.kt
@@ -150,7 +150,7 @@ class MinecraftConsoleFilter(private val loggerConfigName: String) : Filter {
}
}
if (SkyHanniMod.feature.dev.filterScoreboardErrors) {
- if (thrown.toString() == "java.util.concurrent.ExecutionException: java.lang.IllegalArgumentException: A team with the name '") {
+ if (thrown.toString().contains(" java.lang.IllegalArgumentException: A team with the name '")) {
filterConsole("IllegalArgumentException because scoreboard team already exists")
return Filter.Result.DENY
}