|
|
@ -132,17 +132,17 @@ public enum SimulationManager { |
|
|
|
e.printStackTrace(); |
|
|
|
e.printStackTrace(); |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
try { |
|
|
|
//try {
|
|
|
|
if ((_minePulseTime != 0) |
|
|
|
// if ((_minePulseTime != 0)
|
|
|
|
&& (System.currentTimeMillis() > _minePulseTime)) |
|
|
|
// && (System.currentTimeMillis() > _minePulseTime))
|
|
|
|
pulseMines(); |
|
|
|
// pulseMines();
|
|
|
|
} catch (Exception e) { |
|
|
|
//} catch (Exception e) {
|
|
|
|
Logger.error( |
|
|
|
// Logger.error(
|
|
|
|
"Fatal error in Mine Pulse: DISABLED. Error Message : " |
|
|
|
// "Fatal error in Mine Pulse: DISABLED. Error Message : "
|
|
|
|
+ e.getMessage()); |
|
|
|
// + e.getMessage());
|
|
|
|
e.printStackTrace(); |
|
|
|
// e.printStackTrace();
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
//}
|
|
|
|
SimulationManager.executionTime = Duration.between(startTime, Instant.now()); |
|
|
|
SimulationManager.executionTime = Duration.between(startTime, Instant.now()); |
|
|
|
|
|
|
|
|
|
|
|
if (executionTime.compareTo(executionMax) > 0) |
|
|
|
if (executionTime.compareTo(executionMax) > 0) |
|
|
|