mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 17:59:48 +00:00
Added encode and decode methods for more packets
This commit is contained in:
@ -32,7 +32,8 @@ class TransferPacket extends DataPacket{
|
||||
public $port = 19132;
|
||||
|
||||
public function decode(){
|
||||
|
||||
$this->address = $this->getString();
|
||||
$this->port = $this->getLShort();
|
||||
}
|
||||
|
||||
public function encode(){
|
||||
|
Reference in New Issue
Block a user