mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-08-30 06:55:11 +00:00
Remove some old protocol leftovers
This commit is contained in:
parent
75a38699e2
commit
77456702e9
@ -41,11 +41,6 @@ class MovePlayerPacket extends DataPacket{
|
|||||||
public $mode = self::MODE_NORMAL;
|
public $mode = self::MODE_NORMAL;
|
||||||
public $onGround;
|
public $onGround;
|
||||||
|
|
||||||
public function clean(){
|
|
||||||
$this->teleport = false;
|
|
||||||
return parent::clean();
|
|
||||||
}
|
|
||||||
|
|
||||||
public function decode(){
|
public function decode(){
|
||||||
$this->eid = $this->getEntityId(); //EntityRuntimeID
|
$this->eid = $this->getEntityId(); //EntityRuntimeID
|
||||||
$this->getVector3f($this->x, $this->y, $this->z);
|
$this->getVector3f($this->x, $this->y, $this->z);
|
||||||
|
@ -32,11 +32,6 @@ class SetEntityMotionPacket extends DataPacket{
|
|||||||
public $motionY;
|
public $motionY;
|
||||||
public $motionZ;
|
public $motionZ;
|
||||||
|
|
||||||
public function clean(){
|
|
||||||
$this->entities = [];
|
|
||||||
return parent::clean();
|
|
||||||
}
|
|
||||||
|
|
||||||
public function decode(){
|
public function decode(){
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user