Opening mines at the end of bootstrap.

This commit is contained in:
2023-01-19 16:12:18 -05:00
parent 332c860def
commit 8ff0216243
2 changed files with 5 additions and 5 deletions
+4 -4
View File
@@ -391,10 +391,6 @@ public class WorldServer {
Logger.info("Loading Mine data.");
Mine.loadAllMines();
// Open/Close mines for the current window
Logger.info("Processing mine window.");
HourlyJobThread.processMineWindow();
Logger.info("Loading Shrine data.");
DbManager.ShrineQueries.LOAD_ALL_SHRINES();
@@ -472,6 +468,10 @@ public class WorldServer {
Logger.info("Starting Orphan Item Purge");
PurgeOprhans.startPurgeThread();
// Open/Close mines for the current window
Logger.info("Processing mine window.");
HourlyJobThread.processMineWindow();
// Calculate bootstrap time and rest boot time to current time.
java.time.Duration bootDuration = java.time.Duration.between(LocalDateTime.now(), bootTime);
long bootSeconds = Math.abs(bootDuration.getSeconds());