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