|
|
|
@ -219,16 +219,16 @@ public class HourlyJobThread implements Runnable {
@@ -219,16 +219,16 @@ public class HourlyJobThread implements Runnable {
|
|
|
|
|
|
|
|
|
|
// Deposit mine resources to Guilds
|
|
|
|
|
|
|
|
|
|
for (Mine mine : Mine.getMines()) { |
|
|
|
|
//for (Mine mine : Mine.getMines()) {
|
|
|
|
|
|
|
|
|
|
try { |
|
|
|
|
if (mine.hasProduced == false) { |
|
|
|
|
mine.depositMineResources(); |
|
|
|
|
} |
|
|
|
|
} catch (Exception e) { |
|
|
|
|
Logger.info(e.getMessage() + " for Mine " + mine.getObjectUUID()); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
// try {
|
|
|
|
|
// if (mine.hasProduced == false) {
|
|
|
|
|
/// mine.depositMineResources();
|
|
|
|
|
// }
|
|
|
|
|
// } catch (Exception e) {
|
|
|
|
|
// Logger.info(e.getMessage() + " for Mine " + mine.getObjectUUID());
|
|
|
|
|
// }
|
|
|
|
|
//}
|
|
|
|
|
|
|
|
|
|
// Reset time-gated access to WOO slider.
|
|
|
|
|
// *** Do this after the mines open/close!
|
|
|
|
|