30 minute mine windows
This commit is contained in:
@@ -231,9 +231,9 @@ public class WorldServer {
|
||||
hourlyJobThread.setName("hourlyJob");
|
||||
hourlyJobThread.start();
|
||||
if(LocalDateTime.now().isAfter(LocalDateTime.now().withMinute(30).withSecond(0))) {
|
||||
nextHourlyJobTime = LocalDateTime.now().withMinute(0).withSecond(0).plusHours(1);
|
||||
nextHourlyJobTime = LocalDateTime.now().withMinute(0).withSecond(1).plusHours(1);
|
||||
}else{
|
||||
nextHourlyJobTime = LocalDateTime.now().withMinute(30).withSecond(0);
|
||||
nextHourlyJobTime = LocalDateTime.now().withMinute(30).withSecond(1);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user