mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 10:22:56 +00:00
LevelSoundEventPacket: found unknown field
wtf mojang
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user