From 84af0796d338a38e0300ca00f1657f247ddda2d3 Mon Sep 17 00:00:00 2001 From: Jason Penilla <11360596+jpenilla@users.noreply.github.com> Date: Tue, 23 Feb 2021 05:46:02 -0800 Subject: [PATCH] Fix a couple of typos in the javadoc for Player (#5235) --- Spigot-API-Patches/Adventure.patch | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Spigot-API-Patches/Adventure.patch b/Spigot-API-Patches/Adventure.patch index 3292a55047..86a98fc52c 100644 --- a/Spigot-API-Patches/Adventure.patch +++ b/Spigot-API-Patches/Adventure.patch @@ -919,9 +919,9 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000 + void playerListName(@Nullable net.kyori.adventure.text.Component name); + + /** -+ * Gets the currently displayed player list header for this player. ++ * Gets the name that is shown on the in-game player list. + * -+ * @return player list header or null ++ * @return the player list name + */ + @Nullable net.kyori.adventure.text.Component playerListName(); + @@ -929,14 +929,13 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000 + * Gets the currently displayed player list header for this player. + * + * @return player list header or null -+ * @deprecated in favour of {@link #playerListName()} + */ + @Nullable net.kyori.adventure.text.Component playerListHeader(); + + /** + * Gets the currently displayed player list footer for this player. + * -+ * @return player list header or null ++ * @return player list footer or null + */ + @Nullable net.kyori.adventure.text.Component playerListFooter(); + // Paper end