mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 09:56:06 +00:00
Fixed #2052
This commit is contained in:
@ -2061,7 +2061,7 @@ class Server{
|
||||
|
||||
TimingsHandler::tick();
|
||||
|
||||
$updateTime = $tickTime - $this->tickTime;
|
||||
$updateTime = max(0.01, $tickTime - $this->tickTime);
|
||||
|
||||
array_shift($this->tickAverage);
|
||||
$this->tickAverage[] = 1 / $updateTime;
|
||||
|
Reference in New Issue
Block a user