s/windowid/windowId

This commit is contained in:
Dylan K. Taylor
2017-08-08 12:37:26 +01:00
parent 3ad1b1ba7f
commit 75644b5df2
4 changed files with 13 additions and 13 deletions

View File

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