mines only open at their correct times
This commit is contained in:
1 parent
e02dbd3632
commit
e3377d26b1
1 file changed
+4
-4
@@ -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))){
|
||||
|
||||
Reference in new issue
Block a user