Skip to content

Commit

Permalink
Update src/CorrectPlayerMovePredictionPacket.php
Browse files Browse the repository at this point in the history
  • Loading branch information
dktapps authored Aug 13, 2024
1 parent 1c9dbcd commit c5cccb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CorrectPlayerMovePredictionPacket.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ protected function decodePayload(PacketSerializer $in) : void{
$this->predictionType = $in->getByte();
$this->position = $in->getVector3();
$this->delta = $in->getVector3();
if($this->predictionType === self::PREDICTION_TYPE_VEHICLE) {
if($this->predictionType === self::PREDICTION_TYPE_VEHICLE){
$this->vehicleRotation = new Vector2($in->getFloat(), $in->getFloat());
}
$this->onGround = $in->getBool();
Expand Down

0 comments on commit c5cccb1

Please sign in to comment.