diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-10-15 13:59:18 +0200 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-10-15 13:59:18 +0200 |
commit | 0303c7985ab1232182abed3c8f635679a6ac6531 (patch) | |
tree | ff4ce3dddd9bf4be2b1d1b41093a12e4d86552d7 /src/main/java/at/hannibal2/skyhanni/utils | |
parent | 0bdfaab9e486f0c6adc576e3a939838ef1827c80 (diff) | |
download | skyhanni-0303c7985ab1232182abed3c8f635679a6ac6531.tar.gz skyhanni-0303c7985ab1232182abed3c8f635679a6ac6531.tar.bz2 skyhanni-0303c7985ab1232182abed3c8f635679a6ac6531.zip |
code cleanup
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/utils')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/utils/MinecraftConsoleFilter.kt | 27 |
1 files changed, 14 insertions, 13 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/utils/MinecraftConsoleFilter.kt b/src/main/java/at/hannibal2/skyhanni/utils/MinecraftConsoleFilter.kt index 09a509d90..ee373d6b1 100644 --- a/src/main/java/at/hannibal2/skyhanni/utils/MinecraftConsoleFilter.kt +++ b/src/main/java/at/hannibal2/skyhanni/utils/MinecraftConsoleFilter.kt @@ -236,20 +236,21 @@ class MinecraftConsoleFilter(private val loggerConfigName: String) : Filter { ): Filter.Result { return Filter.Result.ACCEPT } + @SubscribeEvent fun onConfigFix(event: ConfigUpdaterMigrator.ConfigFixEvent) { - event.move(3,"dev.printUnfilteredDebugs", "dev.minecraftConsoles.printUnfilteredDebugs") - event.move(3,"dev.logUnfilteredFile", "dev.minecraftConsoles.logUnfilteredFile") - event.move(3,"dev.printUnfilteredDebugsOutsideSkyBlock", "dev.minecraftConsoles.printUnfilteredDebugsOutsideSkyBlock") - event.move(3,"dev.printFilteredReason", "dev.minecraftConsoles.printFilteredReason") - event.move(3,"dev.filterChat", "dev.minecraftConsoles.consoleFilter.filterChat") - event.move(3,"dev.filterGrowBuffer", "dev.minecraftConsoles.consoleFilter.filterGrowBuffer") - event.move(3,"dev.filterUnknownSound", "dev.minecraftConsoles.consoleFilter.filterUnknownSound") - event.move(3,"dev.filterParticleVillagerHappy", "dev.minecraftConsoles.consoleFilter.filterParticleVillagerHappy") - event.move(3,"dev.filterAmsHelperTransformer", "dev.minecraftConsoles.consoleFilter.filterAmsHelperTransformer") - event.move(3,"dev.filterAsmHelperApplying", "dev.minecraftConsoles.consoleFilter.filterAsmHelperApplying") - event.move(3,"dev.filterBiomeIdBounds", "dev.minecraftConsoles.consoleFilter.filterBiomeIdBounds") - event.move(3,"dev.filterScoreboardErrors", "dev.minecraftConsoles.consoleFilter.filterScoreboardErrors") - event.move(3,"dev.filterOptiFine", "dev.minecraftConsoles.consoleFilter.filterOptiFine") + event.move(3, "dev.printUnfilteredDebugs", "dev.minecraftConsoles.printUnfilteredDebugs") + event.move(3, "dev.logUnfilteredFile", "dev.minecraftConsoles.logUnfilteredFile") + event.move(3, "dev.printUnfilteredDebugsOutsideSkyBlock", "dev.minecraftConsoles.printUnfilteredDebugsOutsideSkyBlock") + event.move(3, "dev.printFilteredReason", "dev.minecraftConsoles.printFilteredReason") + event.move(3, "dev.filterChat", "dev.minecraftConsoles.consoleFilter.filterChat") + event.move(3, "dev.filterGrowBuffer", "dev.minecraftConsoles.consoleFilter.filterGrowBuffer") + event.move(3, "dev.filterUnknownSound", "dev.minecraftConsoles.consoleFilter.filterUnknownSound") + event.move(3, "dev.filterParticleVillagerHappy", "dev.minecraftConsoles.consoleFilter.filterParticleVillagerHappy") + event.move(3, "dev.filterAmsHelperTransformer", "dev.minecraftConsoles.consoleFilter.filterAmsHelperTransformer") + event.move(3, "dev.filterAsmHelperApplying", "dev.minecraftConsoles.consoleFilter.filterAsmHelperApplying") + event.move(3, "dev.filterBiomeIdBounds", "dev.minecraftConsoles.consoleFilter.filterBiomeIdBounds") + event.move(3, "dev.filterScoreboardErrors", "dev.minecraftConsoles.consoleFilter.filterScoreboardErrors") + event.move(3, "dev.filterOptiFine", "dev.minecraftConsoles.consoleFilter.filterOptiFine") } } |