mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-19 04:15:04 +00:00
Separate item ID/meta to ItemIdentifier structure
This commit is contained in:
@@ -28,8 +28,8 @@ abstract class TieredTool extends Tool{
|
||||
/** @var ToolTier */
|
||||
protected $tier;
|
||||
|
||||
public function __construct(int $id, string $name, ToolTier $tier){
|
||||
parent::__construct($id, 0, $name);
|
||||
public function __construct(ItemIdentifier $identifier, string $name, ToolTier $tier){
|
||||
parent::__construct($identifier, $name);
|
||||
$this->tier = $tier;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user