mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 18:32:55 +00:00
CompressBatchedTask::__construct() accepts Player[] not string[]
This commit is contained in:
@ -35,7 +35,7 @@ class CompressBatchedTask extends AsyncTask{
|
||||
|
||||
/**
|
||||
* @param BatchPacket $batch
|
||||
* @param string[] $targets
|
||||
* @param Player[] $targets
|
||||
*/
|
||||
public function __construct(BatchPacket $batch, array $targets){
|
||||
$this->data = $batch->payload;
|
||||
|
Reference in New Issue
Block a user