mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 19:02:59 +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:
@ -60,7 +60,7 @@ class ChunkRequestTask extends AsyncTask{
|
||||
$batch->setCompressionLevel($this->compressionLevel);
|
||||
$batch->encode();
|
||||
|
||||
$this->setResult($batch->buffer, false);
|
||||
$this->setResult($batch->buffer);
|
||||
}
|
||||
|
||||
public function onCompletion(Server $server){
|
||||
|
Reference in New Issue
Block a user