mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-09 03:06:55 +00:00
Remove useless $items parameter from inventory constructors
This commit is contained in:
@ -29,9 +29,9 @@ abstract class BlockInventory extends BaseInventory{
|
||||
/** @var Vector3 */
|
||||
protected $holder;
|
||||
|
||||
public function __construct(Vector3 $holder, int $size, array $items = []){
|
||||
public function __construct(Vector3 $holder, int $size){
|
||||
$this->holder = $holder;
|
||||
parent::__construct($size, $items);
|
||||
parent::__construct($size);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user