Block: Clean up internal constructor inconsistencies

I don't dare look how big this commit is or how many bugs it introduced...
This commit is contained in:
Dylan K. Taylor
2019-02-20 19:21:51 +00:00
parent e93464f318
commit 89fce7712a
141 changed files with 427 additions and 1609 deletions

View File

@ -23,18 +23,8 @@ declare(strict_types=1);
namespace pocketmine\block;
use pocketmine\item\Item;
class PumpkinStem extends Stem{
protected $id = self::PUMPKIN_STEM;
protected $itemId = Item::PUMPKIN_SEEDS;
public function getName() : string{
return "Pumpkin Stem";
}
protected function getPlant() : Block{
return BlockFactory::get(Block::PUMPKIN);
}