diff --git a/src/pocketmine/block/Crops.php b/src/pocketmine/block/Crops.php index 73b41c6b3..d8c2a6d19 100644 --- a/src/pocketmine/block/Crops.php +++ b/src/pocketmine/block/Crops.php @@ -43,7 +43,7 @@ abstract class Crops extends Flowable{ public function onActivate(Item $item, Player $player = null) : bool{ - if($item->getId() === Item::DYE and $item->getDamage() === 0x0F){ //Bonemeal + if($this->meta < 7 and $item->getId() === Item::DYE and $item->getDamage() === 0x0F){ //Bonemeal $block = clone $this; $block->meta += mt_rand(2, 5); if($block->meta > 7){