mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 10:22:56 +00:00
Unify Item constructor style
this exposed a few more dead classes.
This commit is contained in:
@ -30,8 +30,8 @@ class Dye extends Item{
|
||||
/** @var DyeColor */
|
||||
private $color;
|
||||
|
||||
public function __construct(int $variant, string $name, DyeColor $color){
|
||||
parent::__construct(self::DYE, $variant, $name);
|
||||
public function __construct(int $id, int $variant, string $name, DyeColor $color){
|
||||
parent::__construct($id, $variant, $name);
|
||||
$this->color = $color;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user