Rename BlockIds -> BlockLegacyIds

This commit is contained in:
Dylan K. Taylor
2019-03-23 19:46:31 +00:00
parent 79ef8e0803
commit 2a3e6dcf00
83 changed files with 541 additions and 541 deletions

View File

@ -60,7 +60,7 @@ class Farmland extends Transparent{
public function onNearbyBlockChange() : void{
if($this->getSide(Facing::UP)->isSolid()){
$this->level->setBlock($this, BlockFactory::get(BlockIds::DIRT));
$this->level->setBlock($this, BlockFactory::get(BlockLegacyIds::DIRT));
}
}
@ -74,7 +74,7 @@ class Farmland extends Transparent{
$this->wetness--;
$this->level->setBlock($this, $this, false);
}else{
$this->level->setBlock($this, BlockFactory::get(BlockIds::DIRT));
$this->level->setBlock($this, BlockFactory::get(BlockLegacyIds::DIRT));
}
}elseif($this->wetness < 7){
$this->wetness = 7;