mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 10:22:56 +00:00
Changed Block->getDrops() to return Item[]
This commit is contained in:
@ -37,6 +37,8 @@ class SignPost extends Transparent{
|
||||
|
||||
protected $id = self::SIGN_POST;
|
||||
|
||||
protected $itemId = Item::SIGN;
|
||||
|
||||
public function __construct(int $meta = 0){
|
||||
$this->meta = $meta;
|
||||
}
|
||||
@ -109,12 +111,6 @@ class SignPost extends Transparent{
|
||||
return false;
|
||||
}
|
||||
|
||||
public function getDrops(Item $item){
|
||||
return [
|
||||
[Item::SIGN, 0, 1],
|
||||
];
|
||||
}
|
||||
|
||||
public function getToolType() : int{
|
||||
return Tool::TYPE_AXE;
|
||||
}
|
||||
|
Reference in New Issue
Block a user