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:
Dylan K. Taylor
2018-10-26 16:29:14 +01:00
parent 88b3df76eb
commit 712cafa0cc
84 changed files with 168 additions and 168 deletions

View File

@ -25,8 +25,8 @@ namespace pocketmine\item;
class GoldLeggings extends Armor{
public function __construct(int $meta = 0){
parent::__construct(self::GOLD_LEGGINGS, $meta, "Gold Leggings");
public function __construct(){
parent::__construct(self::GOLD_LEGGINGS, 0, "Gold Leggings");
}
public function getDefensePoints() : int{