|
|
@ -210,7 +210,7 @@ public class HourlyJobThread implements Runnable { |
|
|
|
|
|
|
|
|
|
|
|
// *** REFACTOR: TRY TRY TRY TRY {{{{{{{{{{{ OMG
|
|
|
|
// *** REFACTOR: TRY TRY TRY TRY {{{{{{{{{{{ OMG
|
|
|
|
|
|
|
|
|
|
|
|
Logger.info("Hourly job is now running."); |
|
|
|
//Logger.info("Hourly job is now running.");
|
|
|
|
|
|
|
|
|
|
|
|
processMineWindow(); |
|
|
|
processMineWindow(); |
|
|
|
|
|
|
|
|
|
|
@ -243,8 +243,8 @@ public class HourlyJobThread implements Runnable { |
|
|
|
|
|
|
|
|
|
|
|
// Decay Shrines at midnight every day
|
|
|
|
// Decay Shrines at midnight every day
|
|
|
|
|
|
|
|
|
|
|
|
if (LocalDateTime.now().getHour() == MINE_LATE_WINDOW) |
|
|
|
//if (LocalDateTime.now().getHour() == MINE_LATE_WINDOW)
|
|
|
|
decayShrines(); |
|
|
|
// decayShrines();
|
|
|
|
|
|
|
|
|
|
|
|
// Update city population values
|
|
|
|
// Update city population values
|
|
|
|
|
|
|
|
|
|
|
@ -264,7 +264,7 @@ public class HourlyJobThread implements Runnable { |
|
|
|
} |
|
|
|
} |
|
|
|
City.lastCityUpdate = System.currentTimeMillis(); |
|
|
|
City.lastCityUpdate = System.currentTimeMillis(); |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
Logger.error("missing city map"); |
|
|
|
//Logger.error("missing city map");
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// Log metrics to console
|
|
|
|
// Log metrics to console
|
|
|
|