diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-01-15 22:07:19 +0100 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-01-15 22:07:19 +0100 |
commit | 5b69a86a091f266b0ec0b94c1b3ab38327b7dfd9 (patch) | |
tree | 20e30726be923a726b132bd9cfa41ed11cb05178 /src/main/java/at/hannibal2/skyhanni/utils | |
parent | 1ccfb31b94a4b0809cf4b77925bce9861e5aecc6 (diff) | |
download | skyhanni-5b69a86a091f266b0ec0b94c1b3ab38327b7dfd9.tar.gz skyhanni-5b69a86a091f266b0ec0b94c1b3ab38327b7dfd9.tar.bz2 skyhanni-5b69a86a091f266b0ec0b94c1b3ab38327b7dfd9.zip |
Added console filter 'Couldn't download http texture'.
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/utils')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/utils/MinecraftConsoleFilter.kt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/utils/MinecraftConsoleFilter.kt b/src/main/java/at/hannibal2/skyhanni/utils/MinecraftConsoleFilter.kt index da359ff1e..61e53ff9d 100644 --- a/src/main/java/at/hannibal2/skyhanni/utils/MinecraftConsoleFilter.kt +++ b/src/main/java/at/hannibal2/skyhanni/utils/MinecraftConsoleFilter.kt @@ -89,6 +89,13 @@ class MinecraftConsoleFilter(private val loggerConfigName: String) : Filter { } } } + + if (SkyHanniMod.feature.dev.couldNotDownloadHttpTexture) { + if (formattedMessage == "Couldn't download http texture: java.net.ConnectException: Connection refused: connect") { + filterConsole("Http Texture") + return Filter.Result.DENY + } + } //TODO find a way to load the filter earlier to filter these messages too // if (loggerName == "LaunchWrapper") { // //The jar file C:\Users\Lorenz\AppData\Roaming\.minecraft\libraries\org\lwjgl\lwjgl\lwjgl\2.9.4-nightly-20150209\lwjgl-2.9.4-nightly-20150209.jar has a security seal for path org.lwjgl.opengl, but that path is defined and not secure |