Skip to content

Commit

Permalink
Fix Poisoned Candy patterns (hannibal002#892)
Browse files Browse the repository at this point in the history
Fixed poisoned candy potion chat message not getting compacted. hannibal002#892
  • Loading branch information
qtlunya authored Jan 8, 2024
1 parent e14ea55 commit 8559bce
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8559bce

Please sign in to comment.