Found field of ShowProfilePacket

This commit is contained in:
Dylan K. Taylor 2017-10-21 14:53:49 +01:00
parent 1dd2203ee5
commit bc7ba3b3c1

View File

@ -31,14 +31,14 @@ class ShowProfilePacket extends DataPacket{
const NETWORK_ID = ProtocolInfo::SHOW_PROFILE_PACKET; const NETWORK_ID = ProtocolInfo::SHOW_PROFILE_PACKET;
/** @var string */ /** @var string */
public $string1; public $xuid;
protected function decodePayload(){ protected function decodePayload(){
$this->string1 = $this->getString(); $this->xuid = $this->getString();
} }
protected function encodePayload(){ protected function encodePayload(){
$this->putString($this->string1); $this->putString($this->xuid);
} }
public function handle(NetworkSession $session) : bool{ public function handle(NetworkSession $session) : bool{