aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorEmpa <42304516+ItsEmpa@users.noreply.github.com>2024-01-09 20:34:36 +0100
committerGitHub <noreply@github.com>2024-01-09 20:34:36 +0100
commit28637e9a62d151c3b4c4f5c68b23608a32fe7c5f (patch)
tree556d4884aef97beca1c349503135a1da4c9f59be /src/main
parent4bf10bcb6fae76b79cd4bc0201f48e46e9254f90 (diff)
downloadskyhanni-28637e9a62d151c3b4c4f5c68b23608a32fe7c5f.tar.gz
skyhanni-28637e9a62d151c3b4c4f5c68b23608a32fe7c5f.tar.bz2
skyhanni-28637e9a62d151c3b4c4f5c68b23608a32fe7c5f.zip
Fix: Fixed trophy fish chat message regex (#894)
Fixed trophy fish chat message detection. #894
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/fishing/trophy/TrophyFishMessages.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/fishing/trophy/TrophyFishMessages.kt b/src/main/java/at/hannibal2/skyhanni/features/fishing/trophy/TrophyFishMessages.kt
index a01833672..c152de886 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/fishing/trophy/TrophyFishMessages.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/fishing/trophy/TrophyFishMessages.kt
@@ -19,7 +19,7 @@ import net.minecraftforge.fml.common.eventhandler.SubscribeEvent
class TrophyFishMessages {
private val trophyFishPattern =
- "§6§lTROPHY FISH! §r§bYou caught an? §r(?<displayName>§[0-9a-f](?:§k)?[\\w -]+)§r§r§r §r§l§r(?<displayRarity>§[0-9a-f]§l\\w+)§r§b\\.".toPattern()
+ "§6§lTROPHY FISH! §r§bYou caught an? §r(?<displayName>§[0-9a-f](?:§k)?[\\w -]+) §r(?<displayRarity>§[0-9a-f]§l\\w+)§r§b\\.".toPattern()
private val config get() = SkyHanniMod.feature.fishing.trophyFishing.chatMessages
@SubscribeEvent