Merge branch '3.5'

This commit is contained in:
Dylan K. Taylor
2019-02-07 17:12:49 +00:00
5 changed files with 14 additions and 14 deletions

View File

@ -37,8 +37,8 @@ class TallGrass extends Flowable{
}
public function place(Item $item, Block $blockReplace, Block $blockClicked, int $face, Vector3 $clickVector, Player $player = null) : bool{
$down = $this->getSide(Facing::DOWN);
if($down->getId() === self::GRASS){
$down = $this->getSide(Facing::DOWN)->getId();
if($down === self::GRASS or $down === self::DIRT){
return parent::place($item, $blockReplace, $blockClicked, $face, $clickVector, $player);
}