aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinnea Gräf <nea@nea.moe>2024-01-21 22:45:24 +0100
committerLinnea Gräf <nea@nea.moe>2024-01-21 22:45:24 +0100
commit0c632d31b43964a829c147c8613ce2055867fdca (patch)
treea93a9f336712cc44a114b4d8e3052df9f07ced9f
parent585df22abdfc66ac613c9eae4ca688454642f4df (diff)
downloadNotEnoughUpdates-0c632d31b43964a829c147c8613ce2055867fdca.tar.gz
NotEnoughUpdates-0c632d31b43964a829c147c8613ce2055867fdca.tar.bz2
NotEnoughUpdates-0c632d31b43964a829c147c8613ce2055867fdca.zip
Fix nearly full RNG metersfix/rngmeter
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/listener/ItemTooltipRngListener.java2
1 files changed, 1 insertions, 1 deletions
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");