mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-16 19:59:11 +00:00
Fix #831
This commit is contained in:
@@ -23,5 +23,10 @@ class WoodStairsBlock extends StairBlock{
|
|||||||
public function __construct($meta = 0){
|
public function __construct($meta = 0){
|
||||||
parent::__construct(WOOD_STAIRS, $meta, "Wood Stairs");
|
parent::__construct(WOOD_STAIRS, $meta, "Wood Stairs");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function getDrops(Item $item, Player $player){
|
||||||
|
return array(
|
||||||
|
array($this->id, 0, 1),
|
||||||
|
);
|
||||||
|
}
|
||||||
}
|
}
|
Reference in New Issue
Block a user