Require PHP 7.2, bump PocketMine-MP version to 1.7dev

This commit is contained in:
Dylan K. Taylor
2017-08-31 20:27:05 +01:00
parent b9c4a65307
commit ddfe828445
5 changed files with 19 additions and 11 deletions

View File

@ -61,7 +61,7 @@ abstract class Worker extends \Worker{
}
}
public function start(int $options = PTHREADS_INHERIT_ALL){
public function start(?int $options = \PTHREADS_INHERIT_ALL){
ThreadManager::getInstance()->add($this);
if(!$this->isRunning() and !$this->isJoined() and !$this->isTerminated()){