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)
|
||||
|
||||
@@ -534,8 +534,8 @@ public class WorldServer {
|
||||
printThreads();
|
||||
Logger.info("Threads Running:");
|
||||
|
||||
Logger.info("Starting Hotzone...");
|
||||
HotzoneManager.SelectRandomHotzone();
|
||||
//Logger.info("Starting Hotzone...");
|
||||
//HotzoneManager.SelectRandomHotzone();
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -36,7 +36,7 @@ public class HourlyJobThread implements Runnable {
|
||||
|
||||
ConcurrentHashMap<Integer, AbstractGameObject> map = DbManager.getMap(Enum.GameObjectType.City);
|
||||
|
||||
HotzoneManager.SelectRandomHotzone();
|
||||
//HotzoneManager.SelectRandomHotzone();
|
||||
if (map != null) {
|
||||
|
||||
for (AbstractGameObject ago : map.values()) {
|
||||
|
||||
Reference in New Issue
Block a user