mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-22 04:29:43 +00:00
Fixes to DEFLATE
This commit is contained in:
parent
847590645d
commit
f51630c572
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue