Browse Source

mines reset claimability at 3am CST

lakebane-master
FatBoy-DOTC 5 months ago
parent
commit
c14cc98ca2
  1. 7
      src/engine/workthreads/HourlyJobThread.java

7
src/engine/workthreads/HourlyJobThread.java

@ -94,12 +94,11 @@ public class HourlyJobThread implements Runnable {
// This will reset at 1am after the last mine // This will reset at 1am after the last mine
// window closes. // window closes.
if (LocalDateTime.now().getHour() == MINE_LATE_WINDOW + 1) { if (LocalDateTime.now().getHour() == 3) {
for (Mine mine : Mine.getMines()) { for (Mine mine : Mine.getMines()) {
mine.wasClaimed = false;
if (mine.wasClaimed == true) mine.hasProduced = false;
mine.wasClaimed = false;
} }
} }

Loading…
Cancel
Save