From 90946f9f42881e6c7263cfd6e03ee40ddc47bfe6 Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Wed, 28 Sep 2022 09:56:41 +0200 Subject: typos --- .../java/at/hannibal2/skyhanni/features/slayer/SlayerQuestWarning.kt | 2 +- src/main/java/at/hannibal2/skyhanni/utils/MinecraftConsoleFilter.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main') diff --git a/src/main/java/at/hannibal2/skyhanni/features/slayer/SlayerQuestWarning.kt b/src/main/java/at/hannibal2/skyhanni/features/slayer/SlayerQuestWarning.kt index fd3cb2f84..22d9b9573 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/slayer/SlayerQuestWarning.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/slayer/SlayerQuestWarning.kt @@ -110,7 +110,7 @@ class SlayerQuestWarning { if (bossSlain) { needNewQuest("You have no Auto-Slayer active!") } else if (slayBoss) { - needNewQuest("You probably switched the server during an active boss and how hypixel doesn't know what to do.") + needNewQuest("You probably switched the server during an active boss and now hypixel doesn't know what to do.") } } } diff --git a/src/main/java/at/hannibal2/skyhanni/utils/MinecraftConsoleFilter.kt b/src/main/java/at/hannibal2/skyhanni/utils/MinecraftConsoleFilter.kt index b922e524c..e7ef6d653 100644 --- a/src/main/java/at/hannibal2/skyhanni/utils/MinecraftConsoleFilter.kt +++ b/src/main/java/at/hannibal2/skyhanni/utils/MinecraftConsoleFilter.kt @@ -53,7 +53,7 @@ class MinecraftConsoleFilter(private val loggerConfigName: String) : Filter { } } if (SkyHanniMod.feature.dev.filterUnknownSound) { - if (formattedMessage == "Unable to play unknown soundEvent: minecraft:") { + if (formattedMessage.startsWith("Unable to play unknown soundEvent: minecraft:")) { filterConsole("Unknown soundEvent (minecraft:)") return Filter.Result.DENY } -- cgit