mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 18:32:55 +00:00
s/windowid/windowId
This commit is contained in:
@ -32,7 +32,7 @@ abstract class ContainerInventory extends BaseInventory{
|
||||
public function onOpen(Player $who){
|
||||
parent::onOpen($who);
|
||||
$pk = new ContainerOpenPacket();
|
||||
$pk->windowid = $who->getWindowId($this);
|
||||
$pk->windowId = $who->getWindowId($this);
|
||||
$pk->type = $this->getNetworkType();
|
||||
$holder = $this->getHolder();
|
||||
if($holder instanceof Vector3){
|
||||
@ -50,7 +50,7 @@ abstract class ContainerInventory extends BaseInventory{
|
||||
|
||||
public function onClose(Player $who){
|
||||
$pk = new ContainerClosePacket();
|
||||
$pk->windowid = $who->getWindowId($this);
|
||||
$pk->windowId = $who->getWindowId($this);
|
||||
$who->dataPacket($pk);
|
||||
parent::onClose($who);
|
||||
}
|
||||
|
Reference in New Issue
Block a user