mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 17:59:48 +00:00
AsyncTask: remove $serialize parameter from setResult()
Whether serialization is necessary can be determined automatically based on the type of variable.
This commit is contained in:
@ -51,7 +51,7 @@ class CompressBatchedTask extends AsyncTask{
|
||||
$batch->setCompressionLevel($this->level);
|
||||
$batch->encode();
|
||||
|
||||
$this->setResult($batch->buffer, false);
|
||||
$this->setResult($batch->buffer);
|
||||
}
|
||||
|
||||
public function onCompletion(Server $server){
|
||||
|
Reference in New Issue
Block a user