various cleanups
This commit is contained in:
1 parent
928845a220
commit
9879c1b18f
3 files changed
+14
-23
No files matched your search
@@ -240,12 +240,7 @@ public class WorldServer {
|
||||
Thread hourlyJobThread = new Thread(new HourlyJobThread());
|
||||
hourlyJobThread.setName("hourlyJob");
|
||||
hourlyJobThread.start();
|
||||
//if(LocalDateTime.now().isAfter(LocalDateTime.now().withMinute(30).withSecond(0))) {
|
||||
// nextHourlyJobTime = LocalDateTime.now().withMinute(0).withSecond(0).plusHours(1);
|
||||
//}else{
|
||||
// nextHourlyJobTime = LocalDateTime.now().withMinute(30).withSecond(0);
|
||||
//}
|
||||
nextHourlyJobTime = nextHourlyJobTime.plusMinutes(30);
|
||||
nextHourlyJobTime = nextHourlyJobTime.plusMinutes(60);
|
||||
}
|
||||
|
||||
if (LocalDateTime.now().isAfter(nextWareHousePushTime)) {
|
||||
|
||||
Reference in new issue
Block a user