Deprecate PlaceholderHook but not onRequest

This commit is contained in:
extendedclip 2020-07-31 10:34:11 -04:00
parent 0281e5e346
commit d2945539b3

@ -35,11 +35,7 @@ import org.jetbrains.annotations.Nullable;
public abstract class PlaceholderHook public abstract class PlaceholderHook
{ {
/**
* @deprecated This method will be completely removed, please use {@link me.clip.placeholderapi.expansion.PlaceholderExpansion#onRequest(OfflinePlayer, String)}
*/
@Nullable @Nullable
@Deprecated
public String onRequest(@Nullable final OfflinePlayer player, @NotNull final String params) public String onRequest(@Nullable final OfflinePlayer player, @NotNull final String params)
{ {
if (player != null && player.isOnline()) if (player != null && player.isOnline())