diff options
author | Linnea Gräf <nea@nea.moe> | 2024-01-21 22:45:24 +0100 |
---|---|---|
committer | Linnea Gräf <nea@nea.moe> | 2024-01-21 22:45:24 +0100 |
commit | 0c632d31b43964a829c147c8613ce2055867fdca (patch) | |
tree | a93a9f336712cc44a114b4d8e3052df9f07ced9f | |
parent | 585df22abdfc66ac613c9eae4ca688454642f4df (diff) | |
download | NotEnoughUpdates-fix/rngmeter.tar.gz NotEnoughUpdates-fix/rngmeter.tar.bz2 NotEnoughUpdates-fix/rngmeter.zip |
Fix nearly full RNG metersfix/rngmeter
-rw-r--r-- | src/main/java/io/github/moulberry/notenoughupdates/listener/ItemTooltipRngListener.java | 2 |
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"); |