disable hotzone system

This commit is contained in:
2025-03-16 15:43:15 -05:00
parent 87675bb950
commit 0ec2add724
3 changed files with 14 additions and 14 deletions
+11 -11
View File
@@ -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)
+2 -2
View File
@@ -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;
}
+1 -1
View File
@@ -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()) {