mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 12:09:43 +00:00
Bonemeal usage count
This commit is contained in:
parent
8e127e60a0
commit
51f4faf22e
4 changed files with 4 additions and 0 deletions
|
|
@ -76,6 +76,7 @@ class MelonStemBlock 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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue