diff options
author | Cow <cow@volloeko.de> | 2021-04-26 00:40:06 +0200 |
---|---|---|
committer | Cow <cow@volloeko.de> | 2021-04-26 00:40:06 +0200 |
commit | eda29b2feb5defec7a4772b2640dbe4bf241c93d (patch) | |
tree | 787e941edfd0c74a125be1753802bdb8e1dbd8f6 /src/main/java/de/cowtipper/cowlection | |
parent | 953153625f8586201a85d8b983ef2d9dd0e98807 (diff) | |
download | Cowlection-eda29b2feb5defec7a4772b2640dbe4bf241c93d.tar.gz Cowlection-eda29b2feb5defec7a4772b2640dbe4bf241c93d.tar.bz2 Cowlection-eda29b2feb5defec7a4772b2640dbe4bf241c93d.zip |
Fixed regex for Rabbit's Foot
Diffstat (limited to 'src/main/java/de/cowtipper/cowlection')
-rw-r--r-- | src/main/java/de/cowtipper/cowlection/listener/skyblock/SkyBlockListener.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/de/cowtipper/cowlection/listener/skyblock/SkyBlockListener.java b/src/main/java/de/cowtipper/cowlection/listener/skyblock/SkyBlockListener.java index 35acf43..a28905c 100644 --- a/src/main/java/de/cowtipper/cowlection/listener/skyblock/SkyBlockListener.java +++ b/src/main/java/de/cowtipper/cowlection/listener/skyblock/SkyBlockListener.java @@ -71,7 +71,7 @@ public class SkyBlockListener { private static final Pattern PET_NAME_PATTERN = Pattern.compile("^§7\\[Lvl (\\d+)] (§[0-9a-f])"); private static final Pattern TIER_SUFFIX_PATTERN = Pattern.compile(" [IVX0-9]+$"); // example: " §a42§7x §fLeather §7for §6436.8 coins" - private static final Pattern BAZAAR_SELL_ALL_PATTERN = Pattern.compile("^(?:§[0-9a-fl-or])* (?:§[0-9a-fl-or])+([0-9,]+)(?:§[0-9a-fl-or])+x (?:§[0-9a-fl-or])+[A-Za-z ]+ (?:§[0-9a-fl-or])+for (?:§[0-9a-fl-or])+([0-9,.]+) coins$"); + private static final Pattern BAZAAR_SELL_ALL_PATTERN = Pattern.compile("^(?:§[0-9a-fl-or])* (?:§[0-9a-fl-or])+([0-9,]+)(?:§[0-9a-fl-or])+x (?:§[0-9a-fl-or])+.+ (?:§[0-9a-fl-or])+for (?:§[0-9a-fl-or])+([0-9,.]+) coins$"); List<BestiaryEntry> bestiaryOverview = null; private final NumberFormat numberFormatter; private final Cowlection main; |