Extracted open/close logic to method. Run at startup.

This commit is contained in:
2023-01-19 11:21:08 -05:00
parent b88a10d509
commit c89b60221e
2 changed files with 46 additions and 37 deletions
+4 -1
View File
@@ -389,9 +389,12 @@ public class WorldServer {
}
Logger.info("Loading Mine data.");
//DbManager.MineQueries.syncMineWindowsWithToday();
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();