mirror of
https://github.com/PlaceholderAPI/PlaceholderAPI
synced 2024-11-18 00:46:55 +01:00
remove register deprecation as it won't be final. Set removal for deprecated methods to 2.11.0
This commit is contained in:
parent
8c829417a7
commit
a232294b11
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user