Some protocol changes for 1.1.0.0

This commit is contained in:
Dylan K. Taylor
2017-04-01 19:20:30 +01:00
parent e47c7ea55f
commit 9c25ec3afd
13 changed files with 61 additions and 54 deletions

View File

@ -29,10 +29,14 @@ use pocketmine\network\mcpe\NetworkSession;
class EntityFallPacket extends DataPacket{
const NETWORK_ID = ProtocolInfo::ENTITY_FALL_PACKET;
public $eid;
public $fallDistance;
public $bool1;
public function decode(){
$this->eid = $this->getEntityRuntimeId();
$this->fallDistance = $this->getLFloat();
$this->bool1 = $this->getBool();
}
public function encode(){