mob AI aggro

This commit is contained in:
2025-02-16 17:21:52 -06:00
parent 8c166c8d4b
commit 8e158e1d27
+1 -1
View File
@@ -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();