diff --git a/pom.xml b/pom.xml index 46c8746..8a7a7b8 100644 --- a/pom.xml +++ b/pom.xml @@ -19,8 +19,8 @@ - org.spigotmc - spigot-api + io.papermc.paper + paper-api 1.21.10-R0.1-SNAPSHOT provided @@ -109,8 +109,8 @@ - spigot-snapshots - https://hub.spigotmc.org/nexus/content/repositories/snapshots/ + papermc + https://repo.papermc.io/repository/maven-public/ diff --git a/src/main/java/net/tfminecraft/games/utils/BodyYaw.java b/src/main/java/net/tfminecraft/games/utils/BodyYaw.java index a96f765..e7cfdf3 100644 --- a/src/main/java/net/tfminecraft/games/utils/BodyYaw.java +++ b/src/main/java/net/tfminecraft/games/utils/BodyYaw.java @@ -6,8 +6,8 @@ import org.bukkit.entity.Player; /** - * Torso yaw. Paper / current Spigot expose {@code LivingEntity.getBodyYaw()}; the compile-time - * spigot-api jar may not, so this is resolved at runtime. + * Resolves torso yaw at runtime, falling back to look yaw when the + * running server does not expose {@code LivingEntity.getBodyYaw()}. */ public final class BodyYaw {