Removed 4 squigglies

This commit is contained in:
2024-05-12 13:31:05 -04:00
parent fb4eea67ed
commit 7335946c10
+4 -8
View File
@@ -13,23 +13,21 @@ public class MobAIThread implements Runnable {
public static int AI_PULSE_MOB_THRESHOLD = 200;
public static int AI_PATROL_DIVISOR = 15;
public static float AI_CAST_FREQUENCY;
// Thread constructor
public MobAIThread() {
Logger.info(" MobAIThread thread has started!");
}
@Override
public void run() {
//cache config value for mobile casting delay
AI_CAST_FREQUENCY = Float.parseFloat(ConfigManager.MB_AI_CAST_FREQUENCY.getValue());
AI_BASE_AGGRO_RANGE = (int) (60 * Float.parseFloat(ConfigManager.MB_AI_AGGRO_RANGE.getValue()));
while (true) {
for (Zone zone : ZoneManager.getAllZones()) {
for (Mob mob : zone.zoneMobSet) {
for (Zone zone : ZoneManager.getAllZones())
for (Mob mob : zone.zoneMobSet)
try {
if (mob != null)
MobAI.determineAction(mob);
@@ -39,8 +37,6 @@ public class MobAIThread implements Runnable {
}
}
}
}
}
public static void startAIThread() {
Thread aiThread;