From 28b0f5f86aad5b50bd7ff82d734c4b88884a184a Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Tue, 22 May 2018 18:48:48 +0100 Subject: [PATCH] UpdateBlockSyncedPacket: rename field --- .../network/mcpe/protocol/UpdateBlockSyncedPacket.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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); }