|
|
|
@ -137,18 +137,18 @@ public enum SimulationManager {
@@ -137,18 +137,18 @@ public enum SimulationManager {
|
|
|
|
|
// Logger.error(e.getMessage());
|
|
|
|
|
//}
|
|
|
|
|
|
|
|
|
|
try{ |
|
|
|
|
if(ZoneManager.hotZone != null && HotzoneManager.hotzoneMob != null && !HotzoneManager.hotzoneMob.isAlive()){ |
|
|
|
|
HotzoneManager.ClearHotzone(); |
|
|
|
|
} |
|
|
|
|
}catch(Exception e){ |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
try{ |
|
|
|
|
HotzoneManager.pulse(); |
|
|
|
|
}catch(Exception e){ |
|
|
|
|
//try{
|
|
|
|
|
//if(ZoneManager.hotZone != null && HotzoneManager.hotzoneMob != null && !HotzoneManager.hotzoneMob.isAlive()){
|
|
|
|
|
// HotzoneManager.ClearHotzone();
|
|
|
|
|
//}
|
|
|
|
|
//}catch(Exception e){
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
//}
|
|
|
|
|
//try{
|
|
|
|
|
// HotzoneManager.pulse();
|
|
|
|
|
//}catch(Exception e){
|
|
|
|
|
//
|
|
|
|
|
//}
|
|
|
|
|
SimulationManager.executionTime = Duration.between(startTime, Instant.now()); |
|
|
|
|
|
|
|
|
|
if (executionTime.compareTo(executionMax) > 0) |
|
|
|
|