mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-09 03:06:55 +00:00
Fixed some items not keeping meta when constructed, close #968
This commit is contained in:
@ -28,6 +28,6 @@ use pocketmine\block\Block;
|
||||
class PumpkinSeeds extends Item{
|
||||
public function __construct($meta = 0, $count = 1){
|
||||
$this->block = Block::get(Item::PUMPKIN_STEM);
|
||||
parent::__construct(self::PUMPKIN_SEEDS, 0, $count, "Pumpkin Seeds");
|
||||
parent::__construct(self::PUMPKIN_SEEDS, $meta, $count, "Pumpkin Seeds");
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user