Unify Item constructor style

this exposed a few more dead classes.
This commit is contained in:
Dylan K. Taylor
2019-05-11 18:24:21 +01:00
parent 51f96b195e
commit c99846e069
71 changed files with 87 additions and 284 deletions

View File

@ -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;
}