From a4769248fb234bfc80cdee7d73e4551828ddf6d8 Mon Sep 17 00:00:00 2001 From: Shoghi Cervantes Date: Wed, 6 May 2015 18:17:35 +0200 Subject: [PATCH] Set nextTick on start --- src/pocketmine/Server.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pocketmine/Server.php b/src/pocketmine/Server.php index 0e2a305b0..70dec97c7 100644 --- a/src/pocketmine/Server.php +++ b/src/pocketmine/Server.php @@ -2184,6 +2184,7 @@ class Server{ } private function tickProcessor(){ + $this->nextTick = microtime(true); while($this->isRunning){ $this->tick(); $next = $this->nextTick - 0.001;