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()); // Logger.error(e.getMessage());
//} //}
try{ //try{
if(ZoneManager.hotZone != null && HotzoneManager.hotzoneMob != null && !HotzoneManager.hotzoneMob.isAlive()){ //if(ZoneManager.hotZone != null && HotzoneManager.hotzoneMob != null && !HotzoneManager.hotzoneMob.isAlive()){
HotzoneManager.ClearHotzone(); // HotzoneManager.ClearHotzone();
} //}
}catch(Exception e){ //}catch(Exception e){
} //}
try{ //try{
HotzoneManager.pulse(); // HotzoneManager.pulse();
}catch(Exception e){ //}catch(Exception e){
//
} //}
SimulationManager.executionTime = Duration.between(startTime, Instant.now()); SimulationManager.executionTime = Duration.between(startTime, Instant.now());
if (executionTime.compareTo(executionMax) > 0) if (executionTime.compareTo(executionMax) > 0)
+2 -2
View File
@@ -534,8 +534,8 @@ public class WorldServer {
printThreads(); printThreads();
Logger.info("Threads Running:"); Logger.info("Threads Running:");
Logger.info("Starting Hotzone..."); //Logger.info("Starting Hotzone...");
HotzoneManager.SelectRandomHotzone(); //HotzoneManager.SelectRandomHotzone();
return true; return true;
} }
+1 -1
View File
@@ -36,7 +36,7 @@ public class HourlyJobThread implements Runnable {
ConcurrentHashMap<Integer, AbstractGameObject> map = DbManager.getMap(Enum.GameObjectType.City); ConcurrentHashMap<Integer, AbstractGameObject> map = DbManager.getMap(Enum.GameObjectType.City);
HotzoneManager.SelectRandomHotzone(); //HotzoneManager.SelectRandomHotzone();
if (map != null) { if (map != null) {
for (AbstractGameObject ago : map.values()) { for (AbstractGameObject ago : map.values()) {