Skip to content

Commit

Permalink
Fix tracking insane drops
Browse files Browse the repository at this point in the history
  • Loading branch information
bowser0000 committed Jan 6, 2024
1 parent e224d77 commit 50a7fd7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/me/Danker/features/loot/LootTracker.java
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ public class LootTracker {
public static long itemsChecked = 0;
// RARE DROP! (61x Twilight Arrow Poison) (+140% Magic Find!)
// VERY RARE DROP! (19x Nether Wart Distillate) (+160% Magic Find!)
static Pattern twentyPattern = Pattern.compile("(VERY )?RARE DROP! ?\\((?<amount>\\d+)x (?<drop>.+?)\\)( \\(.*\\))?");
static Pattern twentyPattern = Pattern.compile("(VERY )?RARE DROP! ?\\((?<amount>\\d+)x (?<drop>.+?)\\).*");
// CRAZY RARE DROP! (Judgement Core) (+203% Magic Find!)
static Pattern dropPattern = Pattern.compile("((VERY|CRAZY|INSANE) )?RARE DROP! ?\\((?<drop>.+?)\\)( \\(.*\\))?");
static Pattern dropPattern = Pattern.compile("(((VERY|CRAZY) )?RARE|INSANE) DROP! ?\\((?<drop>.+?)\\).*");

@SubscribeEvent
public void onChat(ClientChatReceivedEvent event) {
Expand Down

0 comments on commit 50a7fd7

Please sign in to comment.