Removed some redundant item classes

This commit is contained in:
Dylan K. Taylor
2017-08-25 14:07:50 +01:00
parent 97911aa9cf
commit 44dd7c2222
37 changed files with 47 additions and 847 deletions

View File

@ -23,8 +23,12 @@ declare(strict_types=1);
namespace pocketmine\item;
use pocketmine\block\Block;
use pocketmine\block\BlockFactory;
class Redstone extends Item{
public function __construct($meta = 0, $count = 1){
$this->block = BlockFactory::get(Block::REDSTONE_WIRE);
parent::__construct(self::REDSTONE, $meta, $count, "Redstone");
}