mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 18:32:55 +00:00
Added encode and decode methods for more packets
This commit is contained in:
@ -36,7 +36,9 @@ class SetSpawnPositionPacket extends DataPacket{
|
||||
public $unknownBool;
|
||||
|
||||
public function decode(){
|
||||
|
||||
$this->unknown = $this->getVarInt();
|
||||
$this->getBlockPosition($this->x, $this->y, $this->z);
|
||||
$this->unknownBool = $this->getBool();
|
||||
}
|
||||
|
||||
public function encode(){
|
||||
|
Reference in New Issue
Block a user