aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2022-09-28 09:56:41 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2022-09-28 09:56:41 +0200
commit90946f9f42881e6c7263cfd6e03ee40ddc47bfe6 (patch)
tree9c62142a4aaaa8cde6fb679236c1160256653c86 /src/main
parent0899bc4559ecf1fc3a0475f45c59bdbe3c475fe4 (diff)
downloadskyhanni-90946f9f42881e6c7263cfd6e03ee40ddc47bfe6.tar.gz
skyhanni-90946f9f42881e6c7263cfd6e03ee40ddc47bfe6.tar.bz2
skyhanni-90946f9f42881e6c7263cfd6e03ee40ddc47bfe6.zip
typos
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/slayer/SlayerQuestWarning.kt2
-rw-r--r--src/main/java/at/hannibal2/skyhanni/utils/MinecraftConsoleFilter.kt2
2 files changed, 2 insertions, 2 deletions
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
}