From 9a5e4517a5504ae3dfd31648ba22d33b108c66b0 Mon Sep 17 00:00:00 2001 From: GameHerobrine Date: Wed, 11 May 2022 15:52:20 +0300 Subject: [PATCH] bonemeal should work on sugarcane now --- src/material/block/plant/Sugarcane.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/material/block/plant/Sugarcane.php b/src/material/block/plant/Sugarcane.php index 3009dd1a..34b0825c 100644 --- a/src/material/block/plant/Sugarcane.php +++ b/src/material/block/plant/Sugarcane.php @@ -22,6 +22,7 @@ class SugarcaneBlock extends FlowableBlock{ public function __construct($meta = 0){ parent::__construct(SUGARCANE_BLOCK, $meta, "Sugarcane"); + $this->isActivable = true; $this->hardness = 0; } @@ -67,7 +68,6 @@ class SugarcaneBlock extends FlowableBlock{ $b = $this->level->getBlock(new Vector3($this->x, $this->y + $y, $this->z)); if($b->getID() === AIR){ $this->level->setBlock($b, new SugarcaneBlock(), true, false, true); - break; } } $this->meta = 0;