From 377d091ae204ee263f2a8cccd142f0b10552a116 Mon Sep 17 00:00:00 2001 From: Sxtanna Date: Tue, 21 Jul 2020 12:25:38 -0400 Subject: [PATCH] added back deprecated online player method --- src/main/java/me/clip/placeholderapi/PlaceholderAPI.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/main/java/me/clip/placeholderapi/PlaceholderAPI.java b/src/main/java/me/clip/placeholderapi/PlaceholderAPI.java index a990636..e15145d 100644 --- a/src/main/java/me/clip/placeholderapi/PlaceholderAPI.java +++ b/src/main/java/me/clip/placeholderapi/PlaceholderAPI.java @@ -604,6 +604,14 @@ public final class PlaceholderAPI return null; } + /** + * @deprecated Will be removed in a future release. + */ + @Deprecated + public static String setPlaceholders(Player player, String text) { + return setPlaceholders(((OfflinePlayer) player), text); + } + /** * @deprecated Will be removed in a future release. */