Merge branch 'release/3.1'

This commit is contained in:
Dylan K. Taylor 2018-07-14 10:39:34 +01:00
commit fbbb6f3beb

View File

@ -66,7 +66,7 @@ class ConcretePowder extends Fallable{
private function checkAdjacentWater() : ?Block{ private function checkAdjacentWater() : ?Block{
for($i = 1; $i < 6; ++$i){ //Do not check underneath for($i = 1; $i < 6; ++$i){ //Do not check underneath
if($this->getSide($i) instanceof Water){ if($this->getSide($i) instanceof Water){
return Block::get(Block::CONCRETE, $this->meta); return BlockFactory::get(Block::CONCRETE, $this->meta);
} }
} }