mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-07 12:18:46 +00:00
Fixed DEFLATEPacket notification
This commit is contained in:
parent
d177af3297
commit
1d2de1f038
@ -176,7 +176,7 @@ class MinecraftInterface{
|
|||||||
);
|
);
|
||||||
$this->writePacket(0x99, array(
|
$this->writePacket(0x99, array(
|
||||||
0 => 0, //start
|
0 => 0, //start
|
||||||
), false, $source, $port);
|
), false, $source, $port, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function stopChunked($CID){
|
public function stopChunked($CID){
|
||||||
@ -185,7 +185,7 @@ class MinecraftInterface{
|
|||||||
}
|
}
|
||||||
$this->writePacket(0x99, array(
|
$this->writePacket(0x99, array(
|
||||||
0 => 1, //stop
|
0 => 1, //stop
|
||||||
), false, $this->chunked[$CID][1], $this->chunked[$CID][2]);
|
), false, $this->chunked[$CID][1], $this->chunked[$CID][2], true);
|
||||||
console("[DEBUG] Stopping DEFLATEPacket for ".$this->chunked[$CID][1].":".$this->chunked[$CID][2], true, true, 2);
|
console("[DEBUG] Stopping DEFLATEPacket for ".$this->chunked[$CID][1].":".$this->chunked[$CID][2], true, true, 2);
|
||||||
$this->chunked[$CID][3] = null;
|
$this->chunked[$CID][3] = null;
|
||||||
$this->chunked[$CID][4] = null;
|
$this->chunked[$CID][4] = null;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user