mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-13 21:35:21 +00:00
Fixes to DEFLATE
This commit is contained in:
parent
847590645d
commit
f51630c572
@ -133,7 +133,7 @@ class MinecraftInterface{
|
|||||||
foreach($this->toChunk as $CID => $packets){
|
foreach($this->toChunk as $CID => $packets){
|
||||||
$d = $this->chunked[$CID];
|
$d = $this->chunked[$CID];
|
||||||
$raw = "";
|
$raw = "";
|
||||||
$MTU = 0;
|
$MTU = 512;
|
||||||
foreach($packets as $packet){
|
foreach($packets as $packet){
|
||||||
$raw .= $packet;
|
$raw .= $packet;
|
||||||
if(($len = strlen($packet)) > $MTU){
|
if(($len = strlen($packet)) > $MTU){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user