aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorDoKM <mcazzyman@gmail.com>2021-08-24 20:37:30 +0200
committerDoKM <mcazzyman@gmail.com>2021-08-24 20:37:30 +0200
commit1f2e9b43403891df307308a4f469a358e0e2e3a8 (patch)
treeea02342e5e73800815a45e4e9c3355bb87669f1e /src/main
parent019f3630776c6f4b4eedd41c25aa4f36b99ccf5b (diff)
downloadNotEnoughUpdates-1f2e9b43403891df307308a4f469a358e0e2e3a8.tar.gz
NotEnoughUpdates-1f2e9b43403891df307308a4f469a358e0e2e3a8.tar.bz2
NotEnoughUpdates-1f2e9b43403891df307308a4f469a358e0e2e3a8.zip
Add another check for if the experimentation table is done
This check runs when you're on the rewards page
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/overlays/TimersOverlay.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/overlays/TimersOverlay.java b/src/main/java/io/github/moulberry/notenoughupdates/overlays/TimersOverlay.java
index 728703ad..429a3c60 100644
--- a/src/main/java/io/github/moulberry/notenoughupdates/overlays/TimersOverlay.java
+++ b/src/main/java/io/github/moulberry/notenoughupdates/overlays/TimersOverlay.java
@@ -214,6 +214,11 @@ public class TimersOverlay extends TextOverlay {
}
hidden.experimentsCompleted = 0;
return;
+ } else if(containerName.equals("Superpairs Rewards") && lower.getSizeInventory() >= 27){
+ ItemStack stack = lower.getStackInSlot(13);
+ if(Utils.cleanColour(stack.getDisplayName()).equals("Superpairs")){
+ hidden.experimentsCompleted = currentTime;
+ }
}
}