mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-20 07:39:42 +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 Carrot extends Food{
|
||||
public function __construct(){
|
||||
parent::__construct(self::CARROT, 0, "Carrot");
|
||||
}
|
||||
|
||||
public function getBlock() : Block{
|
||||
return BlockFactory::get(BlockLegacyIds::CARROT_BLOCK);
|
||||
|
Reference in New Issue
Block a user