forked from MagicBane/Server
disable hotzone system
This commit is contained in:
@@ -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{
|
||||
//if(ZoneManager.hotZone != null && HotzoneManager.hotzoneMob != null && !HotzoneManager.hotzoneMob.isAlive()){
|
||||
// HotzoneManager.ClearHotzone();
|
||||
//}
|
||||
//}catch(Exception e){
|
||||
|
||||
}
|
||||
try{
|
||||
HotzoneManager.pulse();
|
||||
}catch(Exception e){
|
||||
|
||||
}
|
||||
//}
|
||||
//try{
|
||||
// HotzoneManager.pulse();
|
||||
//}catch(Exception e){
|
||||
//
|
||||
//}
|
||||
SimulationManager.executionTime = Duration.between(startTime, Instant.now());
|
||||
|
||||
if (executionTime.compareTo(executionMax) > 0)
|
||||
|
||||
Reference in New Issue
Block a user