mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 02:42:58 +00:00
Remove variant parameters from TieredTool
This commit is contained in:
@ -33,8 +33,8 @@ abstract class TieredTool extends Tool{
|
||||
/** @var int */
|
||||
protected $tier;
|
||||
|
||||
public function __construct(int $id, int $meta, string $name, int $tier){
|
||||
parent::__construct($id, $meta, $name);
|
||||
public function __construct(int $id, string $name, int $tier){
|
||||
parent::__construct($id, 0, $name);
|
||||
$this->tier = $tier;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user