diff options
author | Taoshi <nicolaikh@live.dk> | 2023-12-19 13:47:54 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-19 13:47:54 +0100 |
commit | 0b3d77a41bf90fc69a8bb7088a11041ea9aa5524 (patch) | |
tree | 3b72574e06d40a73e46a7d2b22f24f74c1eba5b9 /src/main/java | |
parent | 57666e9c49734d89332e987259a5ff48bc29c66d (diff) | |
download | NotEnoughUpdates-0b3d77a41bf90fc69a8bb7088a11041ea9aa5524.tar.gz NotEnoughUpdates-0b3d77a41bf90fc69a8bb7088a11041ea9aa5524.tar.bz2 NotEnoughUpdates-0b3d77a41bf90fc69a8bb7088a11041ea9aa5524.zip |
Add Platinum and Diamond brackets to the inJacobsContest check (#972)
Update FarmingSkillOverlay.java
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/io/github/moulberry/notenoughupdates/overlays/FarmingSkillOverlay.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/overlays/FarmingSkillOverlay.java b/src/main/java/io/github/moulberry/notenoughupdates/overlays/FarmingSkillOverlay.java index bdffd40d..3c8f377d 100644 --- a/src/main/java/io/github/moulberry/notenoughupdates/overlays/FarmingSkillOverlay.java +++ b/src/main/java/io/github/moulberry/notenoughupdates/overlays/FarmingSkillOverlay.java @@ -140,7 +140,7 @@ public class FarmingSkillOverlay extends TextOverlay { int cropsFarmed = -1; for (String line : SidebarUtil.readSidebarLines()) { if (line.contains("Collected") || line.contains("BRONZE") || line.contains("SILVER") || - line.contains("GOLD")) { + line.contains("GOLD") || line.contains("PLATINUM") || line.contains("DIAMOND")) { inJacobContest = true; String l = line.replaceAll("[^A-Za-z0-9() ]", ""); cropsFarmed = Integer.parseInt(l.substring(l.lastIndexOf(" ") + 1).replace(",", "")); |