Protocol changes

This commit is contained in:
Shoghi Cervantes
2015-04-29 17:04:34 +02:00
parent c2b3f7cd7f
commit 978aa2ba0f
8 changed files with 45 additions and 108 deletions

View File

@ -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);