mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 02:42:58 +00:00
Block creating and property handling rewrite, part1
This commit is contained in:
@ -23,8 +23,15 @@ namespace pocketmine\block;
|
||||
|
||||
|
||||
class StoneBrickStairs extends Stair{
|
||||
|
||||
protected $id = self::STONE_BRICK_STAIRS;
|
||||
|
||||
public function __construct($meta = 0){
|
||||
parent::__construct(self::STONE_BRICK_STAIRS, $meta, "Stone Brick Stairs");
|
||||
$this->meta = $meta;
|
||||
}
|
||||
|
||||
public function getName(){
|
||||
return "Stone Brick Stairs";
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user