|
|
|
@ -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.hasProduced = false; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|