mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
Merge pull request #7 from GameHerobrine/test
bonemeal should work on sugarcane now
This commit is contained in:
commit
a071f577bf
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue