mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-22 08:44:01 +00:00
EnderChestInventory: Removed unnecessary owner parameter
This commit is contained in:
parent
b75413e3c4
commit
d8dc89e7c8
@ -562,7 +562,7 @@ class Human extends Creature implements ProjectileSource, InventoryHolder{
|
||||
$this->propertyManager->setBlockPos(self::DATA_PLAYER_BED_POSITION, null);
|
||||
|
||||
$this->inventory = new PlayerInventory($this);
|
||||
$this->enderChestInventory = new EnderChestInventory($this);
|
||||
$this->enderChestInventory = new EnderChestInventory();
|
||||
$this->initHumanData();
|
||||
|
||||
$inventoryTag = $this->namedtag->getListTag("Inventory");
|
||||
|
@ -33,7 +33,7 @@ class EnderChestInventory extends ChestInventory{
|
||||
/** @var Position */
|
||||
protected $holder;
|
||||
|
||||
public function __construct(Human $owner){
|
||||
public function __construct(){
|
||||
ContainerInventory::__construct(new Position());
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user