From 199215f2e623f2c182ce48d58e8bd788b1126ff0 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Sat, 15 Mar 2025 16:45:28 -0500 Subject: [PATCH] decrease player update tick form 1000MS to 100MS --- src/engine/workthreads/UpdateThread.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/workthreads/UpdateThread.java b/src/engine/workthreads/UpdateThread.java index 94c7f0bc..86b3ff80 100644 --- a/src/engine/workthreads/UpdateThread.java +++ b/src/engine/workthreads/UpdateThread.java @@ -47,7 +47,7 @@ public class UpdateThread implements Runnable { while (true) { try { this.processPlayerUpdate(); - Thread.sleep(1000); // Pause for 1000ms to reduce CPU usage + Thread.sleep(100); // Pause for 100ms to reduce CPU usage } catch (InterruptedException e) { Logger.error("Thread interrupted", e); }