mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 09:56:06 +00:00
Protocol changes
This commit is contained in:
@ -37,7 +37,6 @@ class RespawnPacket extends DataPacket{
|
||||
}
|
||||
|
||||
public function decode(){
|
||||
$this->getLong(); //TODO: remove
|
||||
$this->x = $this->getFloat();
|
||||
$this->y = $this->getFloat();
|
||||
$this->z = $this->getFloat();
|
||||
@ -45,7 +44,6 @@ class RespawnPacket extends DataPacket{
|
||||
|
||||
public function encode(){
|
||||
$this->reset();
|
||||
$this->putLong(0); //TODO: remove
|
||||
$this->putFloat($this->x);
|
||||
$this->putFloat($this->y);
|
||||
$this->putFloat($this->z);
|
||||
|
Reference in New Issue
Block a user