diff --git a/src/pocketmine/network/mcpe/protocol/UpdateBlockSyncedPacket.php b/src/pocketmine/network/mcpe/protocol/UpdateBlockSyncedPacket.php index 260542f92..5fce02e5c 100644 --- a/src/pocketmine/network/mcpe/protocol/UpdateBlockSyncedPacket.php +++ b/src/pocketmine/network/mcpe/protocol/UpdateBlockSyncedPacket.php @@ -31,19 +31,19 @@ class UpdateBlockSyncedPacket extends UpdateBlockPacket{ public const NETWORK_ID = ProtocolInfo::UPDATE_BLOCK_SYNCED_PACKET; /** @var int */ - public $uvarint64_1 = 0; + public $entityUniqueId = 0; /** @var int */ public $uvarint64_2 = 0; protected function decodePayload(){ parent::decodePayload(); - $this->uvarint64_1 = $this->getUnsignedVarLong(); + $this->entityUniqueId = $this->getUnsignedVarLong(); $this->uvarint64_2 = $this->getUnsignedVarLong(); } protected function encodePayload(){ parent::encodePayload(); - $this->putUnsignedVarLong($this->uvarint64_1); + $this->putUnsignedVarLong($this->entityUniqueId); $this->putUnsignedVarLong($this->uvarint64_2); }