mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 10:22:56 +00:00
Replace all legacy blockID references with BlockIds::
This commit is contained in:
@ -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);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user