Update NetherWart.php

This commit is contained in:
dog194 2016-04-16 13:20:13 +08:00
commit ff17cde128

View file

@ -21,8 +21,11 @@
namespace pocketmine\item;
use pocketmine\block\Block;
class NetherWart extends Item {
public function __construct($meta = 0, $count =1){
$this->block = Block::get(Item::NETHER_WART_BLOCK);
parent::__construct(self::NETHER_WART, $meta, $count, "Nether Wart");
}
}