diff options
author | Lorenz <lo.scherf@gmail.com> | 2022-09-04 11:51:53 +0200 |
---|---|---|
committer | Lorenz <lo.scherf@gmail.com> | 2022-09-04 11:51:53 +0200 |
commit | 7d95510b60406fbef32c342c5c2adbce31d057c4 (patch) | |
tree | ef2ed6c97df2e0153a133ec05742f6867258583b /src/main/java/io | |
parent | 66d0e21b3e9a573806dc4f0f3d5990ee2f740f0e (diff) | |
download | NotEnoughUpdates-7d95510b60406fbef32c342c5c2adbce31d057c4.tar.gz NotEnoughUpdates-7d95510b60406fbef32c342c5c2adbce31d057c4.tar.bz2 NotEnoughUpdates-7d95510b60406fbef32c342c5c2adbce31d057c4.zip |
Hypixel handles line breaks very oddly
Diffstat (limited to 'src/main/java/io')
-rw-r--r-- | src/main/java/io/github/moulberry/notenoughupdates/miscgui/minionhelper/loaders/MinionHelperInventoryLoader.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/miscgui/minionhelper/loaders/MinionHelperInventoryLoader.java b/src/main/java/io/github/moulberry/notenoughupdates/miscgui/minionhelper/loaders/MinionHelperInventoryLoader.java index de9dadb3..14571cb3 100644 --- a/src/main/java/io/github/moulberry/notenoughupdates/miscgui/minionhelper/loaders/MinionHelperInventoryLoader.java +++ b/src/main/java/io/github/moulberry/notenoughupdates/miscgui/minionhelper/loaders/MinionHelperInventoryLoader.java @@ -47,10 +47,10 @@ public class MinionHelperInventoryLoader { private int ticks = 0; //§7Craft §b5 §7more §aunique §7minions - private final Pattern PATTERN_MINIONS_NEEDED = Pattern.compile("§7Craft §b(\\d) §7more §aunique §7minions"); + private final Pattern PATTERN_MINIONS_NEEDED = Pattern.compile("§7Craft §b(\\d+) §7more §aunique( §7minions)?"); //§r §r§fPelts: §r§59§r - private final Pattern PATTERN_PELTS = Pattern.compile("§r §r§fPelts: §r§5(\\d)§r"); + private final Pattern PATTERN_PELTS = Pattern.compile("§r §r§fPelts: §r§5(\\d+)§r"); public MinionHelperInventoryLoader(MinionHelperManager manager) { this.manager = manager; |