mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-25 12:54:03 +00:00
CompressBatchedTask::__construct() accepts Player[] not string[]
This commit is contained in:
parent
77f7595e0e
commit
f39fc7e525
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user