diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-03-03 23:01:00 +0100 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-03-03 23:01:00 +0100 |
commit | e44f6e77e0b0835a1f6def677dba87907a5eb1aa (patch) | |
tree | 847fe049788c0969e73778dbfb64c3f5d4c9dd1f /src/main | |
parent | a04330a2c37bd3b12ee50281bfe9ae6008f3f65b (diff) | |
download | skyhanni-e44f6e77e0b0835a1f6def677dba87907a5eb1aa.tar.gz skyhanni-e44f6e77e0b0835a1f6def677dba87907a5eb1aa.tar.bz2 skyhanni-e44f6e77e0b0835a1f6def677dba87907a5eb1aa.zip |
Code cleanup
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/config/features/DevData.java | 6 | ||||
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/utils/MinecraftConsoleFilter.kt | 6 |
2 files changed, 0 insertions, 12 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/DevData.java b/src/main/java/at/hannibal2/skyhanni/config/features/DevData.java index 0c8f29eb3..85b527947 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/DevData.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/DevData.java @@ -125,12 +125,6 @@ public class DevData { public boolean filterBiomeIdBounds = false; @Expose - @ConfigOption(name = "Http Texture", desc = "Filter message 'Couldn't download http texture'.") - @ConfigEditorBoolean - @ConfigAccordionId(id = 2) - public boolean couldNotDownloadHttpTexture = false; - - @Expose @ConfigOption(name = "Print Event Timings", desc = "Prints every 10 seconds the timings of all SkyHanni events in the chat.") @ConfigEditorBoolean public boolean printEventTimings = false; diff --git a/src/main/java/at/hannibal2/skyhanni/utils/MinecraftConsoleFilter.kt b/src/main/java/at/hannibal2/skyhanni/utils/MinecraftConsoleFilter.kt index 61e53ff9d..1223b33c8 100644 --- a/src/main/java/at/hannibal2/skyhanni/utils/MinecraftConsoleFilter.kt +++ b/src/main/java/at/hannibal2/skyhanni/utils/MinecraftConsoleFilter.kt @@ -90,12 +90,6 @@ 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 |