From bc7ba3b3c10d48a37e1e8493e91a72e6e41a4af2 Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Sat, 21 Oct 2017 14:53:49 +0100 Subject: [PATCH] Found field of ShowProfilePacket --- src/pocketmine/network/mcpe/protocol/ShowProfilePacket.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pocketmine/network/mcpe/protocol/ShowProfilePacket.php b/src/pocketmine/network/mcpe/protocol/ShowProfilePacket.php index 7f708ff7e..7c1bfb7ef 100644 --- a/src/pocketmine/network/mcpe/protocol/ShowProfilePacket.php +++ b/src/pocketmine/network/mcpe/protocol/ShowProfilePacket.php @@ -31,14 +31,14 @@ class ShowProfilePacket extends DataPacket{ const NETWORK_ID = ProtocolInfo::SHOW_PROFILE_PACKET; /** @var string */ - public $string1; + public $xuid; protected function decodePayload(){ - $this->string1 = $this->getString(); + $this->xuid = $this->getString(); } protected function encodePayload(){ - $this->putString($this->string1); + $this->putString($this->xuid); } public function handle(NetworkSession $session) : bool{