mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-12 14:35:35 +00:00
Packet loss limit lowered
This commit is contained in:
parent
f1c278915d
commit
4f3e49b6a9
@ -1617,7 +1617,7 @@ class Player{
|
|||||||
unset($this->queue[$this->counter[1] + 1]);
|
unset($this->queue[$this->counter[1] + 1]);
|
||||||
$this->handle($d[0], $d[1]);
|
$this->handle($d[0], $d[1]);
|
||||||
}elseif(($cnt = count($this->queue)) > 25){
|
}elseif(($cnt = count($this->queue)) > 25){
|
||||||
if($cnt >= 1024){
|
if($cnt >= 256){
|
||||||
$this->close("end of stream");
|
$this->close("end of stream");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user