|
|
|
@ -251,19 +251,19 @@ public enum SimulationManager {
@@ -251,19 +251,19 @@ public enum SimulationManager {
|
|
|
|
|
Logger.info(mine.getZoneName() + "'s Mine is now Active!"); |
|
|
|
|
continue; |
|
|
|
|
} |
|
|
|
|
if (mine.lastClaimer == null && (LocalDateTime.now().isAfter(closeTime) || LocalDateTime.now().isBefore(openTime))) { |
|
|
|
|
//if (mine.lastClaimer == null && (LocalDateTime.now().isAfter(closeTime) || LocalDateTime.now().isBefore(openTime))) {
|
|
|
|
|
//mineWindowClose(mine);
|
|
|
|
|
if(mine.firstThirty) { |
|
|
|
|
mine.firstThirty = false; |
|
|
|
|
}else { |
|
|
|
|
mine.liveTime += 1; |
|
|
|
|
if(mine.liveTime == 24) |
|
|
|
|
mine.liveTime = 1; |
|
|
|
|
mine.firstThirty = true; |
|
|
|
|
continue; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
//if(mine.firstThirty) {
|
|
|
|
|
// mine.firstThirty = false;
|
|
|
|
|
//}else {
|
|
|
|
|
// mine.liveTime += 1;
|
|
|
|
|
// if(mine.liveTime == 24)
|
|
|
|
|
// mine.liveTime = 1;
|
|
|
|
|
// mine.firstThirty = true;
|
|
|
|
|
// continue;
|
|
|
|
|
//}
|
|
|
|
|
|
|
|
|
|
//}
|
|
|
|
|
if (mine.isActive && mine.lastClaimer != null && (LocalDateTime.now().isAfter(closeTime) || LocalDateTime.now().isBefore(openTime))) { |
|
|
|
|
mineWindowClose(mine); |
|
|
|
|
} |
|
|
|
|