mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 18:32:55 +00:00
Item: remove redundant meta constructor params
these ctor params should only be used for variants in the ItemFactory registration, but all of these items have no non-zero variants anyway.
This commit is contained in:
@ -25,8 +25,8 @@ namespace pocketmine\item;
|
||||
|
||||
|
||||
class DiamondHelmet extends Armor{
|
||||
public function __construct(int $meta = 0){
|
||||
parent::__construct(self::DIAMOND_HELMET, $meta, "Diamond Helmet");
|
||||
public function __construct(){
|
||||
parent::__construct(self::DIAMOND_HELMET, 0, "Diamond Helmet");
|
||||
}
|
||||
|
||||
public function getDefensePoints() : int{
|
||||
|
Reference in New Issue
Block a user