mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 10:53:05 +00:00
Block: Clean up internal constructor inconsistencies
I don't dare look how big this commit is or how many bugs it introduced...
This commit is contained in:
@ -30,8 +30,8 @@ class Wood extends Solid{
|
||||
/** @var TreeType */
|
||||
private $treeType;
|
||||
|
||||
public function __construct(int $id, int $variant, TreeType $treeType, ?string $name = null, int $itemId = null){
|
||||
parent::__construct($id, $variant, $name, $itemId);
|
||||
public function __construct(BlockIdentifier $idInfo, string $name, TreeType $treeType){
|
||||
parent::__construct($idInfo, $name);
|
||||
$this->treeType = $treeType;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user