mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-20 07:39:42 +00:00
Place/Breaking/Activation logic separated from BlockAPI
This commit is contained in:
@@ -31,4 +31,9 @@ class WoodDoorBlock extends TransparentBlock{
|
||||
$this->isActivable = true;
|
||||
}
|
||||
|
||||
public function getDrops(Item $item, Player $player){
|
||||
return array(
|
||||
array(324, 0, 1),
|
||||
);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user