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

Loading…
Cancel
Save