forked from MagicBane/Server
various cleanups
This commit is contained in:
@@ -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