From 8559bcec78048bdabd0e19bbeead4218930201be Mon Sep 17 00:00:00 2001 From: alexia Date: Mon, 8 Jan 2024 16:43:22 +0100 Subject: [PATCH] Fix Poisoned Candy patterns (#892) Fixed poisoned candy potion chat message not getting compacted. #892 --- .../skyhanni/features/chat/CompactSplashPotionMessage.kt | 6 +++--- 1 file 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 e624af88c6d9..cf81e82c6f1f 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(?§2Poisoned Candy I)§r§f!§r".toPattern(), - "§a§lBUFF! §fYou splashed yourself with §r(?§2Poisoned Candy I)§r§f!§r".toPattern(), - "§a§lBUFF! §fYou were splashed by (?.*) §fwith §r(?§2Poisoned Candy I)§r§f!§r".toPattern() + "§a§lBUFF! §fYou have gained §r(?§2Poisoned Candy I)§r§f!".toPattern(), + "§a§lBUFF! §fYou splashed yourself with §r(?§2Poisoned Candy I)§r§f!".toPattern(), + "§a§lBUFF! §fYou were splashed by (?.*) §fwith §r(?§2Poisoned Candy I)§r§f!".toPattern() ) @SubscribeEvent