diff options
author | alexia <me@alexia.lol> | 2024-01-08 16:43:22 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-08 16:43:22 +0100 |
commit | 8559bcec78048bdabd0e19bbeead4218930201be (patch) | |
tree | 183c0c717d44dc3a66a967e8ec3d838337b13a2c /src/main/java/at | |
parent | e14ea55edfad4760e75ac332fc5ced940bac657c (diff) | |
download | skyhanni-8559bcec78048bdabd0e19bbeead4218930201be.tar.gz skyhanni-8559bcec78048bdabd0e19bbeead4218930201be.tar.bz2 skyhanni-8559bcec78048bdabd0e19bbeead4218930201be.zip |
Fix Poisoned Candy patterns (#892)
Fixed poisoned candy potion chat message not getting compacted. #892
Diffstat (limited to 'src/main/java/at')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/chat/CompactSplashPotionMessage.kt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/chat/CompactSplashPotionMessage.kt b/src/main/java/at/hannibal2/skyhanni/features/chat/CompactSplashPotionMessage.kt index e624af88c..cf81e82c6 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/chat/CompactSplashPotionMessage.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/chat/CompactSplashPotionMessage.kt @@ -18,9 +18,9 @@ class CompactSplashPotionMessage { // Fix for Hypixel having a different message for Poisoned Candy. // Did not make the first pattern optional to prevent conflicts with Dungeon Buffs/other things - "§a§lBUFF! §fYou have gained §r(?<effectName>§2Poisoned Candy I)§r§f!§r".toPattern(), - "§a§lBUFF! §fYou splashed yourself with §r(?<effectName>§2Poisoned Candy I)§r§f!§r".toPattern(), - "§a§lBUFF! §fYou were splashed by (?<playerName>.*) §fwith §r(?<effectName>§2Poisoned Candy I)§r§f!§r".toPattern() + "§a§lBUFF! §fYou have gained §r(?<effectName>§2Poisoned Candy I)§r§f!".toPattern(), + "§a§lBUFF! §fYou splashed yourself with §r(?<effectName>§2Poisoned Candy I)§r§f!".toPattern(), + "§a§lBUFF! §fYou were splashed by (?<playerName>.*) §fwith §r(?<effectName>§2Poisoned Candy I)§r§f!".toPattern() ) @SubscribeEvent |