mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 02:42:58 +00:00
BlockIdentifier: variant parameter of constructor is now mandatory
This commit is contained in:
@ -28,7 +28,7 @@ class BlockIdentifierFlattened extends BlockIdentifier{
|
||||
/** @var int */
|
||||
private $secondId;
|
||||
|
||||
public function __construct(int $blockId, int $secondId, int $variant = 0, ?int $itemId = null, ?string $tileClass = null){
|
||||
public function __construct(int $blockId, int $secondId, int $variant, ?int $itemId = null, ?string $tileClass = null){
|
||||
parent::__construct($blockId, $variant, $itemId, $tileClass);
|
||||
$this->secondId = $secondId;
|
||||
}
|
||||
|
Reference in New Issue
Block a user