1
0
mirror of https://github.com/pmmp/PocketMine-MP.git synced 2025-06-03 18:42:37 +00:00

Missed one

This commit is contained in:
Dylan K. Taylor 2017-07-15 13:30:02 +01:00
parent 3e8825f826
commit 57e7c3d91f

@ -95,7 +95,7 @@ class ServerScheduler{
*
* @return void
*/
public function scheduleAsyncTaskToWorker(AsyncTask $task, $worker){
public function scheduleAsyncTaskToWorker(AsyncTask $task, int $worker){
if($task->getTaskId() !== null){
throw new \UnexpectedValueException("Attempt to schedule the same AsyncTask instance twice");
}