Separate item ID/meta to ItemIdentifier structure

This commit is contained in:
Dylan K. Taylor
2020-06-29 12:16:34 +01:00
parent cbfdfe87cf
commit 4fc134bd04
14 changed files with 274 additions and 278 deletions

View File

@@ -32,8 +32,8 @@ class Skull extends Item{
/** @var SkullType */
private $skullType;
public function __construct(int $id, int $variant, string $name, SkullType $skullType){
parent::__construct($id, $variant, $name);
public function __construct(ItemIdentifier $identifier, string $name, SkullType $skullType){
parent::__construct($identifier, $name);
$this->skullType = $skullType;
}