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{