diff --git a/src/pocketmine/network/protocol/PlayerFallPacket.php b/src/pocketmine/network/protocol/PlayerFallPacket.php index f6febd251..91333e6c9 100644 --- a/src/pocketmine/network/protocol/PlayerFallPacket.php +++ b/src/pocketmine/network/protocol/PlayerFallPacket.php @@ -27,10 +27,10 @@ namespace pocketmine\network\protocol; class PlayerFallPacket extends DataPacket{ const NETWORK_ID = Info::PLAYER_FALL_PACKET; - public $unknown; //betting this is fall distance, but let's make sure first + public $fallDistance; public function decode(){ - $this->unknown = $this->getLFloat(); + $this->fallDistance = $this->getLFloat(); } public function encode(){