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