Fixes to DEFLATE

This commit is contained in:
Shoghi Cervantes 2013-06-13 19:53:04 +02:00
parent 847590645d
commit f51630c572

View File

@ -133,7 +133,7 @@ class MinecraftInterface{
foreach($this->toChunk as $CID => $packets){
$d = $this->chunked[$CID];
$raw = "";
$MTU = 0;
$MTU = 512;
foreach($packets as $packet){
$raw .= $packet;
if(($len = strlen($packet)) > $MTU){