Bonemeal usage count

This commit is contained in:
Shoghi Cervantes
2013-06-07 19:25:23 +02:00
parent 8e127e60a0
commit 51f4faf22e
4 changed files with 4 additions and 0 deletions

View File

@ -45,6 +45,7 @@ class WheatBlock extends FlowableBlock{
if($item->getID() === DYE and $item->getMetadata() === 0x0F){ //Bonemeal
$this->meta = 0x07;
$this->level->setBlock($this, $this);
$item->count--;
return true;
}
return false;