mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 10:22:56 +00:00
Unify Item constructor style
this exposed a few more dead classes.
This commit is contained in:
@ -28,9 +28,6 @@ use pocketmine\block\BlockFactory;
|
||||
use pocketmine\block\BlockLegacyIds;
|
||||
|
||||
class WheatSeeds extends Item{
|
||||
public function __construct(){
|
||||
parent::__construct(self::WHEAT_SEEDS, 0, "Wheat Seeds");
|
||||
}
|
||||
|
||||
public function getBlock() : Block{
|
||||
return BlockFactory::get(BlockLegacyIds::WHEAT_BLOCK);
|
||||
|
Reference in New Issue
Block a user