mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-22 16:51:42 +00:00
Found field of ShowProfilePacket
This commit is contained in:
parent
1dd2203ee5
commit
bc7ba3b3c1
@ -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{
|
||||
|
Loading…
x
Reference in New Issue
Block a user