Browse Source

mob AI aggro

lakebane-reset
FatBoy-DOTC 6 days ago
parent
commit
8e158e1d27
  1. 2
      src/engine/workthreads/UpdateThread.java

2
src/engine/workthreads/UpdateThread.java

@ -50,7 +50,7 @@ public class UpdateThread implements Runnable { @@ -50,7 +50,7 @@ public class UpdateThread implements Runnable {
lastRun = System.currentTimeMillis(); // Update lastRun after processing
}else {
try {
Thread.sleep(100); // Pause for 100ms to reduce CPU usage
Thread.sleep(1500); // Pause for 1500ms to reduce CPU usage
} catch (InterruptedException e) {
Logger.error("Thread interrupted", e);
Thread.currentThread().interrupt();

Loading…
Cancel
Save