various cleanups

This commit is contained in:
2024-04-23 05:44:32 -05:00
parent 928845a220
commit 9879c1b18f
3 changed files with 14 additions and 23 deletions
+1 -6
View File
@@ -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)) {