From 91c0da9932af608fdbfcf574477487de3aa16b0b Mon Sep 17 00:00:00 2001 From: dbrownidau Date: Mon, 10 Feb 2020 01:35:40 +1100 Subject: [PATCH] Fix doco --- 2006Redone Server/src/main/java/com/rebotted/GameEngine.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/2006Redone Server/src/main/java/com/rebotted/GameEngine.java b/2006Redone Server/src/main/java/com/rebotted/GameEngine.java index 847aa98e..6bd717b4 100644 --- a/2006Redone Server/src/main/java/com/rebotted/GameEngine.java +++ b/2006Redone Server/src/main/java/com/rebotted/GameEngine.java @@ -159,8 +159,7 @@ public class GameEngine { * 300ms to execute, this scheduler will wait 300ms only before the next * tick. * - * Each tick, it will attempt to get a lock on the main server thread. - * Without locking this runnable, multiple ticks could occur at once. + * scheduleAtFixedRate() does not invoke concurrent Runnables. */ scheduler.scheduleAtFixedRate(new Runnable() { public void run() {