[ci skip] Fix typos

This commit is contained in:
Nassim Jahnke
2024-11-21 17:57:18 +01:00
parent e5b723ada2
commit 7fc75401ca
2 changed files with 6 additions and 6 deletions

View File

@@ -57,7 +57,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
+ /**
+ * Note: These flags only work on {@link org.bukkit.entity.Player} entities.
+ * <p>
+ * Relative flags enable a player to not loose their velocity in the flag-specific axis/context when teleporting.
+ * Relative flags enable a player to not lose their velocity in the flag-specific axis/context when teleporting.
+ *
+ * @apiNote The relative flags exposed in the API do *not* mirror all flags known to vanilla, as relative flags concerning
+ * the position are non-applicable given teleports always expect an absolute location.
@@ -65,19 +65,19 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
+ */
+ enum Relative implements TeleportFlag {
+ /**
+ * Configures the player to not loose velocity in their x axis during the teleport.
+ * Configures the player to not lose velocity in their x axis during the teleport.
+ */
+ VELOCITY_X,
+ /**
+ * Configures the player to not loose velocity in their y axis during the teleport.
+ * Configures the player to not lose velocity in their y axis during the teleport.
+ */
+ VELOCITY_Y,
+ /**
+ * Configures the player to not loose velocity in their z axis during the teleport.
+ * Configures the player to not lose velocity in their z axis during the teleport.
+ */
+ VELOCITY_Z,
+ /**
+ * Configures the player to not loose velocity in their current rotation during the teleport.
+ * Configures the player to not lose velocity in their current rotation during the teleport.
+ */
+ VELOCITY_ROTATION;
+ /**