Browse Source

mines only open at their correct times

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

8
src/engine/workthreads/HourlyJobThread.java

@ -89,10 +89,10 @@ public class HourlyJobThread implements Runnable { @@ -89,10 +89,10 @@ public class HourlyJobThread implements Runnable {
// Open Errant Mines
if (mine.getOwningGuild().isEmptyGuild()) {
HourlyJobThread.mineWindowOpen(mine);
continue;
}
//if (mine.getOwningGuild().isEmptyGuild()) {
// HourlyJobThread.mineWindowOpen(mine);
// continue;
//}
if (mine.liveTime == LocalDateTime.now().getHour() && mine.wasClaimed == false) {
if(mine.firstThirty == true && LocalDateTime.now().isAfter(LocalDateTime.now().withHour(mine.liveTime).withMinute(0).withSecond(0)) && LocalDateTime.now().isBefore(LocalDateTime.now().withHour(mine.liveTime).withMinute(30).withSecond(0))){

Loading…
Cancel
Save