Browse Source

mines reset claimability at 3am CST

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

5
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()) {
if (mine.wasClaimed == true)
mine.wasClaimed = false; mine.wasClaimed = false;
mine.hasProduced = false;
} }
} }

Loading…
Cancel
Save