This commit is contained in:
Shoghi Cervantes
2013-06-08 12:51:28 +02:00
parent 883b18078f
commit 97dd718e4f
3 changed files with 3 additions and 2 deletions

View File

@ -171,6 +171,7 @@ class MinecraftInterface{
$raw = str_split(gzdeflate($raw, DEFLATEPACKET_LEVEL), $MTU - 9); // - 1 - 2 - 2 - 2 - 2
$count = count($raw);
$messageID = $this->chunked[$CID][0][0]++;
$this->chunked[$CID][0][0] &= 0xFFFF;
if(!isset($this->needCheck[$CID])){
$this->needCheck[$CID] = array();
}