mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-05 17:36:12 +00:00
Removed some redundant item classes
This commit is contained in:
@ -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");
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user