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 AvailableCommandsPacket extends DataPacket{
|
||||
public $unknown;
|
||||
|
||||
public function decode(){
|
||||
|
||||
$this->commands = $this->getString();
|
||||
$this->unknown = $this->getString();
|
||||
}
|
||||
|
||||
public function encode(){
|
||||
|
Reference in New Issue
Block a user