remove register deprecation as it won't be final. Set removal for deprecated methods to 2.11.0

This commit is contained in:
extendedclip 2020-07-31 10:40:03 -04:00
parent 8c829417a7
commit a232294b11

@ -142,9 +142,7 @@ public abstract class PlaceholderExpansion extends PlaceholderHook
* Attempt to register this PlaceholderExpansion * Attempt to register this PlaceholderExpansion
* *
* @return true if this expansion is now registered with PlaceholderAPI * @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() public boolean register()
{ {
return canRegister() && getPlaceholderAPI().getLocalExpansionManager().register(this); 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 As of versions greater than 2.8.7, use {@link #getRequiredPlugin()}
*/ */
@Deprecated @Deprecated
@ApiStatus.ScheduledForRemoval(inVersion = "2.10.8") @ApiStatus.ScheduledForRemoval(inVersion = "2.11.0")
public String getPlugin() public String getPlugin()
{ {
return null; 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 As of versions greater than 2.8.7, use the expansion cloud to show a description
*/ */
@Deprecated @Deprecated
@ApiStatus.ScheduledForRemoval(inVersion = "2.10.8") @ApiStatus.ScheduledForRemoval(inVersion = "2.11.0")
public String getDescription() public String getDescription()
{ {
return null; 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 As of versions greater than 2.8.7, use the expansion cloud to display a link
*/ */
@Deprecated @Deprecated
@ApiStatus.ScheduledForRemoval(inVersion = "2.10.8") @ApiStatus.ScheduledForRemoval(inVersion = "2.11.0")
public String getLink() public String getLink()
{ {
return null; return null;