mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 20:19:44 +00:00
Fixed bonemeal on plants and grass
This commit is contained in:
parent
05ae15ef74
commit
4a5d4e89e5
8 changed files with 10 additions and 10 deletions
|
|
@ -41,7 +41,7 @@ class WheatBlock extends FlowableBlock{
|
|||
$this->meta = 0x07;
|
||||
$this->level->setBlock($this, $this, true, false, true);
|
||||
if(($player->gamemode & 0x01) === 0){
|
||||
$item->count--;
|
||||
$player->removeItem(DYE,0x0F,1);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue