diff options
author | Empa <42304516+ItsEmpa@users.noreply.github.com> | 2024-01-09 20:34:36 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-09 20:34:36 +0100 |
commit | 28637e9a62d151c3b4c4f5c68b23608a32fe7c5f (patch) | |
tree | 556d4884aef97beca1c349503135a1da4c9f59be /src | |
parent | 4bf10bcb6fae76b79cd4bc0201f48e46e9254f90 (diff) | |
download | skyhanni-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')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/fishing/trophy/TrophyFishMessages.kt | 2 |
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 |