Replace all legacy blockID references with BlockIds::

This commit is contained in:
Dylan K. Taylor
2019-03-23 19:36:09 +00:00
parent f84d7ad70d
commit 79ef8e0803
79 changed files with 526 additions and 505 deletions

View File

@ -25,6 +25,7 @@ namespace pocketmine\item;
use pocketmine\block\Block;
use pocketmine\block\BlockFactory;
use pocketmine\block\BlockIds;
class WheatSeeds extends Item{
public function __construct(){
@ -32,6 +33,6 @@ class WheatSeeds extends Item{
}
public function getBlock() : Block{
return BlockFactory::get(Block::WHEAT_BLOCK);
return BlockFactory::get(BlockIds::WHEAT_BLOCK);
}
}