Skip to content

Commit

Permalink
CS fix
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanCraft623 committed Sep 2, 2024
1 parent 9315fd8 commit ec52a3d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/player/Player.php
Original file line number Diff line number Diff line change
Expand Up @@ -513,11 +513,11 @@ public function isFlying() : bool{
*
* The flight speed is calculated as `blocks per tick = flightSpeed * 10`. For example, setting the
* flight speed to 0.05 means the player will fly at approximately 0.5 blocks per tick.
*
*
* If set to zero, the player will not be able to move in the xz plane when flying, and negative values
* will invert the controls.
*
* Notes:
* Notes:
* - The value of the movement speed attribute has no effect on the flight speed.
* - When a player sprints while flying, their flight speed is doubled on the client-side.
*/
Expand All @@ -531,7 +531,7 @@ public function setFlightSpeed(float $flightSpeed) : void{
/**
* Returns the player's speed when flying.
*
* The flight speed is calculated as `blocks per tick = flightSpeed * 10`. For example, if the
* The flight speed is calculated as `blocks per tick = flightSpeed * 10`. For example, if the
* flight speed is set to 0.05, the player will fly at approximately 0.5 blocks per tick.
*
* If zero, the player is not be able to move in the xz plane when flying, and negative values
Expand Down

0 comments on commit ec52a3d

Please sign in to comment.