diff options
author | DoKM <mcazzyman@gmail.com> | 2021-09-13 21:58:13 +0200 |
---|---|---|
committer | DoKM <mcazzyman@gmail.com> | 2021-09-13 21:58:13 +0200 |
commit | 8f7dd510c4245deae31c301660f6b55edab32ac3 (patch) | |
tree | d06327be1538b483221aee538bd81f337c2a1ef1 /src/main/java/io | |
parent | eca2d88ab5f360bd9923879223d0d854a5fa78f2 (diff) | |
download | NotEnoughUpdates-8f7dd510c4245deae31c301660f6b55edab32ac3.tar.gz NotEnoughUpdates-8f7dd510c4245deae31c301660f6b55edab32ac3.tar.bz2 NotEnoughUpdates-8f7dd510c4245deae31c301660f6b55edab32ac3.zip |
Fix accessory bag overlay's reforge stats detection
Diffstat (limited to 'src/main/java/io')
-rw-r--r-- | src/main/java/io/github/moulberry/notenoughupdates/miscgui/AccessoryBagOverlay.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/miscgui/AccessoryBagOverlay.java b/src/main/java/io/github/moulberry/notenoughupdates/miscgui/AccessoryBagOverlay.java index ec676ec5..ee83cb28 100644 --- a/src/main/java/io/github/moulberry/notenoughupdates/miscgui/AccessoryBagOverlay.java +++ b/src/main/java/io/github/moulberry/notenoughupdates/miscgui/AccessoryBagOverlay.java @@ -752,7 +752,7 @@ public class AccessoryBagOverlay { } }*/ - private static final String STAT_PATTERN_BONUS_END = ": (?:\\+|-)[0-9]+(?:\\.[0-9]+)?\\%? \\([a-zA-Z]+ ((?:\\+|-)[0-9]+)%?"; + private static final String STAT_PATTERN_BONUS_END = ": (?:\\+|-)[0-9]+(?:\\.[0-9]+)?\\%? \\(((?:\\+|-)[0-9]+)%?"; private static final Pattern HEALTH_PATTERN_BONUS = Pattern.compile("^Health"+STAT_PATTERN_BONUS_END); private static final Pattern DEFENCE_PATTERN_BONUS = Pattern.compile("^Defense"+STAT_PATTERN_BONUS_END); |