From 3605ba4262ba796f50c18d695c81a889cbbfd75b Mon Sep 17 00:00:00 2001 From: extendedclip Date: Thu, 30 Jul 2020 09:31:07 -0400 Subject: [PATCH] Update deprecated methods to specify actual version of removal --- .../me/clip/placeholderapi/PlaceholderHook.java | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/src/main/java/me/clip/placeholderapi/PlaceholderHook.java b/src/main/java/me/clip/placeholderapi/PlaceholderHook.java index 1fddefe..5f5c67e 100644 --- a/src/main/java/me/clip/placeholderapi/PlaceholderHook.java +++ b/src/main/java/me/clip/placeholderapi/PlaceholderHook.java @@ -31,17 +31,11 @@ import org.jetbrains.annotations.Nullable; */ @Deprecated @ApiStatus.NonExtendable -@ApiStatus.ScheduledForRemoval(inVersion = "2.10.8") +@ApiStatus.ScheduledForRemoval(inVersion = "2.11.0") public abstract class PlaceholderHook { /** - * called when a placeholder value is requested from this hook - * - * @param player {@link OfflinePlayer} to request the placeholder value for, null if not needed for a - * player - * @param params String passed to the hook to determine what value to return - * @return value for the requested player and params * @deprecated This method will be completely removed, please use {@link me.clip.placeholderapi.expansion.PlaceholderExpansion#onRequest(OfflinePlayer, String)} */ @Nullable @@ -57,17 +51,10 @@ public abstract class PlaceholderHook } /** - * called when a placeholder is requested from this hook - * - * @param player {@link Player} to request the placeholder value for, null if not needed for a player - * @param params String passed to the hook to determine what value to return - * @return value for the requested player and params - * * @deprecated This method will be completely removed, please use {@link me.clip.placeholderapi.expansion.PlaceholderExpansion#onRequest(OfflinePlayer, String)} */ @Nullable @Deprecated - @ApiStatus.ScheduledForRemoval(inVersion = "2.10.8") public String onPlaceholderRequest(@Nullable final Player player, @NotNull final String params) { return null;