Merge branch 'stable'

This commit is contained in:
Dylan K. Taylor
2021-02-02 13:46:29 +00:00
8 changed files with 52 additions and 25 deletions

View File

@@ -51,7 +51,7 @@ class BlockBreakEvent extends BlockEvent implements Cancellable{
/**
* @param Item[] $drops
*/
public function __construct(Player $player, Block $block, Item $item, bool $instaBreak = false, array $drops, int $xpDrops = 0){
public function __construct(Player $player, Block $block, Item $item, bool $instaBreak = false, array $drops = [], int $xpDrops = 0){
parent::__construct($block);
$this->item = $item;
$this->player = $player;