diff options
author | DoKM <mcazzyman@gmail.com> | 2021-08-22 10:17:12 +0200 |
---|---|---|
committer | DoKM <mcazzyman@gmail.com> | 2021-08-22 10:17:12 +0200 |
commit | 6d886c664d34a30e67e450e9af6c88f9466376e8 (patch) | |
tree | 6f442035a2e065d86f8836809ca3b7fb53984a68 /src | |
parent | 91906977577d364b49f4f24830fb105f0519be3a (diff) | |
download | NotEnoughUpdates-6d886c664d34a30e67e450e9af6c88f9466376e8.tar.gz NotEnoughUpdates-6d886c664d34a30e67e450e9af6c88f9466376e8.tar.bz2 NotEnoughUpdates-6d886c664d34a30e67e450e9af6c88f9466376e8.zip |
"fix" fetchur item predictor showing the wrong item
until hypixel changes it again
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/io/github/moulberry/notenoughupdates/overlays/TimersOverlay.java | 3 |
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]; |