LevelSoundEventPacket: found unknown field

wtf mojang
This commit is contained in:
Dylan K. Taylor
2018-04-07 11:33:36 +01:00
parent 7fb237938c
commit e85fc54037
2 changed files with 10 additions and 10 deletions

View File

@ -219,7 +219,7 @@ class LevelSoundEventPacket extends DataPacket{
/** @var int */
public $pitch = 1;
/** @var bool */
public $unknownBool = false;
public $isBabyMob = false; //...
/** @var bool */
public $disableRelativeVolume = false;
@ -228,7 +228,7 @@ class LevelSoundEventPacket extends DataPacket{
$this->position = $this->getVector3();
$this->extraData = $this->getVarInt();
$this->pitch = $this->getVarInt();
$this->unknownBool = $this->getBool();
$this->isBabyMob = $this->getBool();
$this->disableRelativeVolume = $this->getBool();
}
@ -237,7 +237,7 @@ class LevelSoundEventPacket extends DataPacket{
$this->putVector3($this->position);
$this->putVarInt($this->extraData);
$this->putVarInt($this->pitch);
$this->putBool($this->unknownBool);
$this->putBool($this->isBabyMob);
$this->putBool($this->disableRelativeVolume);
}