mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-11 04:17:48 +00:00
Lowered max lag acceptance to resend packets
This commit is contained in:
parent
3ab3526404
commit
ca8be7b047
@ -887,7 +887,7 @@ class Player{
|
|||||||
$this->sendBuffer();
|
$this->sendBuffer();
|
||||||
}
|
}
|
||||||
|
|
||||||
$limit = $time - 8; //max lag
|
$limit = $time - 5; //max lag
|
||||||
foreach($this->recoveryQueue as $count => $data){
|
foreach($this->recoveryQueue as $count => $data){
|
||||||
if($data["sendtime"] > $limit){
|
if($data["sendtime"] > $limit){
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user