From 30a194c75d848fe22364e723250688ad9fd987fd Mon Sep 17 00:00:00 2001 From: Andre_601 <11576465+Andre601@users.noreply.github.com> Date: Mon, 14 Dec 2020 01:08:40 +0100 Subject: [PATCH] Update PlaceholderAPI.java --- .../java/me/clip/placeholderapi/PlaceholderAPI.java | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/src/main/java/me/clip/placeholderapi/PlaceholderAPI.java b/src/main/java/me/clip/placeholderapi/PlaceholderAPI.java index ea29cfe..f9901b6 100644 --- a/src/main/java/me/clip/placeholderapi/PlaceholderAPI.java +++ b/src/main/java/me/clip/placeholderapi/PlaceholderAPI.java @@ -150,7 +150,7 @@ public final class PlaceholderAPI { /** * set relational placeholders in the text specified placeholders are matched with the pattern - * %% when set with this method + * {@literal %%} when set with this method * * @param one First player to compare * @param two Second player to compare @@ -225,6 +225,8 @@ public final class PlaceholderAPI { /** * Get the normal placeholder pattern. + * + * @return The default Placeholder Pattern */ public static Pattern getPlaceholderPattern() { return PLACEHOLDER_PATTERN; @@ -232,6 +234,8 @@ public final class PlaceholderAPI { /** * Get the bracket placeholder pattern. + * + * @return the Bracket Placeholder Pattern */ public static Pattern getBracketPlaceholderPattern() { return BRACKET_PLACEHOLDER_PATTERN; @@ -239,6 +243,8 @@ public final class PlaceholderAPI { /** * Get the relational placeholder pattern. + * + * @return The Relational Placeholder Pattern */ public static Pattern getRelationalPlaceholderPattern() { return RELATIONAL_PLACEHOLDER_PATTERN; @@ -286,8 +292,7 @@ public final class PlaceholderAPI { * Get map of registered placeholders * * @return Map of registered placeholders - * @deprecated Use {@link me.clip.placeholderapi.PlaceholderAPIPlugin().getLocalExpansionManager() - * .getExpansions()} instead. + * @deprecated Use {@link LocalExpansionManager#getExpansions()} instead. */ @Deprecated @ApiStatus.ScheduledForRemoval(inVersion = "2.11.0")