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
1 changed files with 3 additions and 5 deletions

View File

@ -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;