mirror of
https://github.com/PlaceholderAPI/PlaceholderAPI
synced 2025-09-06 05:17:05 +02:00
removed final from deprecated methods, restored fallback for getRequiredPlugin
This commit is contained in:
@@ -87,7 +87,7 @@ public abstract class PlaceholderExpansion extends PlaceholderHook
|
|||||||
@Nullable
|
@Nullable
|
||||||
public String getRequiredPlugin()
|
public String getRequiredPlugin()
|
||||||
{
|
{
|
||||||
return null;
|
return getPlugin();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -229,7 +229,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
|
||||||
public final String getPlugin()
|
public String getPlugin()
|
||||||
{
|
{
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
@@ -238,7 +238,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
|
||||||
public final String getDescription()
|
public String getDescription()
|
||||||
{
|
{
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
@@ -247,7 +247,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
|
||||||
public final String getLink()
|
public String getLink()
|
||||||
{
|
{
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user