From a232294b11ce80ddab7bf56177b8bfc0f46dc150 Mon Sep 17 00:00:00 2001 From: extendedclip Date: Fri, 31 Jul 2020 10:40:03 -0400 Subject: [PATCH] remove register deprecation as it won't be final. Set removal for deprecated methods to 2.11.0 --- .../placeholderapi/expansion/PlaceholderExpansion.java | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/main/java/me/clip/placeholderapi/expansion/PlaceholderExpansion.java b/src/main/java/me/clip/placeholderapi/expansion/PlaceholderExpansion.java index 8489764..1fd32f6 100644 --- a/src/main/java/me/clip/placeholderapi/expansion/PlaceholderExpansion.java +++ b/src/main/java/me/clip/placeholderapi/expansion/PlaceholderExpansion.java @@ -142,9 +142,7 @@ public abstract class PlaceholderExpansion extends PlaceholderHook * Attempt to register this PlaceholderExpansion * * @return true if this expansion is now registered with PlaceholderAPI - * @deprecated This is going to be final in the future, startup and shutdown logic will have their own methods soon. */ - @Deprecated public boolean register() { return canRegister() && getPlaceholderAPI().getLocalExpansionManager().register(this); @@ -272,7 +270,7 @@ public abstract class PlaceholderExpansion extends PlaceholderHook * @deprecated As of versions greater than 2.8.7, use {@link #getRequiredPlugin()} */ @Deprecated - @ApiStatus.ScheduledForRemoval(inVersion = "2.10.8") + @ApiStatus.ScheduledForRemoval(inVersion = "2.11.0") public String getPlugin() { return null; @@ -282,7 +280,7 @@ public abstract class PlaceholderExpansion extends PlaceholderHook * @deprecated As of versions greater than 2.8.7, use the expansion cloud to show a description */ @Deprecated - @ApiStatus.ScheduledForRemoval(inVersion = "2.10.8") + @ApiStatus.ScheduledForRemoval(inVersion = "2.11.0") public String getDescription() { return null; @@ -292,7 +290,7 @@ public abstract class PlaceholderExpansion extends PlaceholderHook * @deprecated As of versions greater than 2.8.7, use the expansion cloud to display a link */ @Deprecated - @ApiStatus.ScheduledForRemoval(inVersion = "2.10.8") + @ApiStatus.ScheduledForRemoval(inVersion = "2.11.0") public String getLink() { return null;