s/Item/Block

This commit is contained in:
Dylan K. Taylor
2017-08-07 16:26:27 +01:00
parent 2d8395f70e
commit 06083d6dc4
20 changed files with 22 additions and 22 deletions

View File

@ -27,7 +27,7 @@ use pocketmine\block\Block;
class Carrot extends Food{
public function __construct($meta = 0, $count = 1){
$this->block = Block::get(Item::CARROT_BLOCK);
$this->block = Block::get(Block::CARROT_BLOCK);
parent::__construct(self::CARROT, $meta, $count, "Carrot");
}