pocketmine\event\level\ChunkLoadEvent::__construct PHP Method

__construct() public method

public __construct ( pocketmine\level\format\FullChunk $chunk, $newChunk )
$chunk pocketmine\level\format\FullChunk
    public function __construct(FullChunk $chunk, $newChunk)
    {
        parent::__construct($chunk);
        $this->newChunk = (bool) $newChunk;
    }