Some protocol changes for 1.1.0.0

This commit is contained in:
Dylan K. Taylor
2017-04-01 19:20:30 +01:00
parent e47c7ea55f
commit 9c25ec3afd
13 changed files with 61 additions and 54 deletions

View File

@ -32,7 +32,6 @@ abstract class ContainerInventory extends BaseInventory{
$pk = new ContainerOpenPacket();
$pk->windowid = $who->getWindowId($this);
$pk->type = $this->getType()->getNetworkType();
$pk->slots = $this->getSize();
$holder = $this->getHolder();
if($holder instanceof Vector3){
$pk->x = $holder->getX();