mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 10:22:56 +00:00
Merge branch 'release/3.4'
This commit is contained in:
@ -56,7 +56,7 @@ class ChunkRequestTask extends AsyncTask{
|
||||
$stream = new PacketStream();
|
||||
$stream->putPacket($pk);
|
||||
|
||||
$this->setResult(NetworkCompression::compress($stream->buffer, $this->compressionLevel), false);
|
||||
$this->setResult(NetworkCompression::compress($stream->buffer, $this->compressionLevel));
|
||||
}
|
||||
|
||||
public function onCompletion() : void{
|
||||
|
@ -42,7 +42,7 @@ class CompressBatchTask extends AsyncTask{
|
||||
}
|
||||
|
||||
public function onRun() : void{
|
||||
$this->setResult(NetworkCompression::compress($this->data, $this->level), false);
|
||||
$this->setResult(NetworkCompression::compress($this->data, $this->level));
|
||||
}
|
||||
|
||||
public function onCompletion() : void{
|
||||
|
Reference in New Issue
Block a user