mirror of
https://github.com/PlaceholderAPI/PlaceholderAPI
synced 2025-02-05 15:55:28 +01:00
Deprecate PlaceholderHook but not onRequest
This commit is contained in:
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())
|
||||||
|
Loading…
Reference in New Issue
Block a user