From 51f61f61af08c3e539cf5a32cab97fcf1bd0e649 Mon Sep 17 00:00:00 2001 From: Andre_601 <11576465+Andre601@users.noreply.github.com> Date: Tue, 21 Jul 2020 01:06:37 +0200 Subject: [PATCH] Add missing deprecation notices. --- src/main/java/me/clip/placeholderapi/PlaceholderAPI.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/java/me/clip/placeholderapi/PlaceholderAPI.java b/src/main/java/me/clip/placeholderapi/PlaceholderAPI.java index caf76ab..7082cb3 100644 --- a/src/main/java/me/clip/placeholderapi/PlaceholderAPI.java +++ b/src/main/java/me/clip/placeholderapi/PlaceholderAPI.java @@ -240,7 +240,8 @@ public final class PlaceholderAPI * identifier from the params * @param colorize If color codes (&[0-1a-fk-o]) should be translated * @return The text containing the parsed placeholders - * @deprecated this will do absolutely nothing different + * + * @deprecated Please use {@link #setPlaceholders(OfflinePlayer, String)} instead. */ @NotNull @Deprecated @@ -620,4 +621,4 @@ public final class PlaceholderAPI return setPlaceholders(player, text, BRACKET_PLACEHOLDER_PATTERN, colorize); } -} \ No newline at end of file +}