|
|
@ -89,10 +89,10 @@ public class HourlyJobThread implements Runnable { |
|
|
|
|
|
|
|
|
|
|
|
// Open Errant Mines
|
|
|
|
// Open Errant Mines
|
|
|
|
|
|
|
|
|
|
|
|
if (mine.getOwningGuild().isEmptyGuild()) { |
|
|
|
//if (mine.getOwningGuild().isEmptyGuild()) {
|
|
|
|
HourlyJobThread.mineWindowOpen(mine); |
|
|
|
// HourlyJobThread.mineWindowOpen(mine);
|
|
|
|
continue; |
|
|
|
// continue;
|
|
|
|
} |
|
|
|
//}
|
|
|
|
|
|
|
|
|
|
|
|
if (mine.liveTime == LocalDateTime.now().getHour() && mine.wasClaimed == false) { |
|
|
|
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))){ |
|
|
|
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))){ |
|
|
|