mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-14 09:49:50 +00:00
Set nextTick on start
This commit is contained in:
parent
fb03df3d06
commit
a4769248fb
@ -2184,6 +2184,7 @@ class Server{
|
||||
}
|
||||
|
||||
private function tickProcessor(){
|
||||
$this->nextTick = microtime(true);
|
||||
while($this->isRunning){
|
||||
$this->tick();
|
||||
$next = $this->nextTick - 0.001;
|
||||
|
Loading…
x
Reference in New Issue
Block a user