Skip to content

Commit

Permalink
Code consistency :P
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanCraft623 committed Aug 15, 2024
1 parent 9fc9599 commit 02ecdc0
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/CorrectPlayerMovePredictionPacket.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,15 @@ class CorrectPlayerMovePredictionPacket extends DataPacket implements Clientboun
/**
* @generate-create-func
*/
private static function internalCreate(Vector3 $position, Vector3 $delta, bool $onGround, int $tick, int $predictionType, ?Vector2 $vehicleRotation, ?float $vehicleAngularVelocity) : self{
private static function internalCreate(
Vector3 $position,
Vector3 $delta,
bool $onGround,
int $tick,
int $predictionType,
?Vector2 $vehicleRotation,
?float $vehicleAngularVelocity,
) : self{
$result = new self;
$result->position = $position;
$result->delta = $delta;
Expand Down

0 comments on commit 02ecdc0

Please sign in to comment.