diff --git a/src/pocketmine/Server.php b/src/pocketmine/Server.php index f88bf4837..0e2a305b0 100644 --- a/src/pocketmine/Server.php +++ b/src/pocketmine/Server.php @@ -2188,7 +2188,11 @@ class Server{ $this->tick(); $next = $this->nextTick - 0.001; if($next > microtime(true)){ - time_sleep_until($next); + try{ + time_sleep_until($next); + }catch(\Exception $e){ + //Sometimes $next is less than the current time. High load? + } } } }