aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/io
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/io')
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/overlays/FarmingSkillOverlay.java2
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(",", ""));