mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 10:22:56 +00:00
Added encode and decode methods for more packets
This commit is contained in:
@ -35,7 +35,8 @@ class SetEntityMotionPacket extends DataPacket{
|
||||
public $motionZ;
|
||||
|
||||
public function decode(){
|
||||
|
||||
$this->eid = $this->getEntityRuntimeId();
|
||||
$this->getVector3f($this->motionX, $this->motionY, $this->motionZ);
|
||||
}
|
||||
|
||||
public function encode(){
|
||||
|
Reference in New Issue
Block a user