Remove useless $items parameter from inventory constructors

This commit is contained in:
Dylan K. Taylor
2019-06-25 15:43:55 +01:00
parent 94ee33e47b
commit 8ec25b59a3
5 changed files with 9 additions and 14 deletions

View File

@ -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);
}
/**