From 0c632d31b43964a829c147c8613ce2055867fdca Mon Sep 17 00:00:00 2001 From: Linnea Gräf Date: Sun, 21 Jan 2024 22:45:24 +0100 Subject: Fix nearly full RNG meters --- .../moulberry/notenoughupdates/listener/ItemTooltipRngListener.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/io/github/moulberry/notenoughupdates/listener/ItemTooltipRngListener.java b/src/main/java/io/github/moulberry/notenoughupdates/listener/ItemTooltipRngListener.java index a26489af..b6a88d88 100644 --- a/src/main/java/io/github/moulberry/notenoughupdates/listener/ItemTooltipRngListener.java +++ b/src/main/java/io/github/moulberry/notenoughupdates/listener/ItemTooltipRngListener.java @@ -58,7 +58,7 @@ public class ItemTooltipRngListener { private final Pattern RUNS_PATTERN = Pattern.compile("§5§o§7(?:Dungeon Score|Slayer XP): §d(.*)§5/§d(.+)"); private final Pattern RUNS_SELECTED_PATTERN = Pattern.compile( - "(?:§5§o)?§d§l§m *§f§l§m *§r §d([0-9,]+)§5/§d([0-9kKmM,.]+)"); + "(?:§5§o)?§d§l§m *(?:§f§l§m *)?§r §d([0-9,]+)§5/§d([0-9kKmM,.]+)"); private final Pattern SLAYER_INVENTORY_TITLE_PATTERN = Pattern.compile("(.+) RNG Meter"); -- cgit