aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoKM <mcazzyman@gmail.com>2021-08-22 10:17:12 +0200
committerDoKM <mcazzyman@gmail.com>2021-08-22 10:17:12 +0200
commit6d886c664d34a30e67e450e9af6c88f9466376e8 (patch)
tree6f442035a2e065d86f8836809ca3b7fb53984a68
parent91906977577d364b49f4f24830fb105f0519be3a (diff)
downloadNotEnoughUpdates-6d886c664d34a30e67e450e9af6c88f9466376e8.tar.gz
NotEnoughUpdates-6d886c664d34a30e67e450e9af6c88f9466376e8.tar.bz2
NotEnoughUpdates-6d886c664d34a30e67e450e9af6c88f9466376e8.zip
"fix" fetchur item predictor showing the wrong item
until hypixel changes it again
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/overlays/TimersOverlay.java3
1 files changed, 3 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 f8ae54f8..c3e33a83 100644
--- a/src/main/java/io/github/moulberry/notenoughupdates/overlays/TimersOverlay.java
+++ b/src/main/java/io/github/moulberry/notenoughupdates/overlays/TimersOverlay.java
@@ -135,6 +135,9 @@ public class TimersOverlay extends TextOverlay {
ZonedDateTime currentTimeEST = ZonedDateTime.now(ZoneId.of("America/Atikokan"));
long fetchurIndex = (currentTimeEST.getDayOfMonth() % 13)-1;
+ //Added because disabled fetchur and enabled it again but it was showing the wrong item
+ //Lets see if this stays correct
+ fetchurIndex+=2;
if(fetchurIndex < 0) fetchurIndex += 13;
icon = FETCHUR_ICONS[(int)fetchurIndex];