mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 17:59:48 +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:
@ -24,8 +24,8 @@ declare(strict_types=1);
|
||||
namespace pocketmine\item;
|
||||
|
||||
class FishingRod extends Item{
|
||||
public function __construct(int $meta = 0){
|
||||
parent::__construct(self::FISHING_ROD, $meta, "Fishing Rod");
|
||||
public function __construct(){
|
||||
parent::__construct(self::FISHING_ROD, 0, "Fishing Rod");
|
||||
}
|
||||
|
||||
//TODO
|
||||
|
Reference in New Issue
Block a user