From ee33de5ec8b8d931224e674edb62fae78b9352bf Mon Sep 17 00:00:00 2001 From: Sxtanna Date: Sun, 26 Jul 2020 21:01:12 -0400 Subject: [PATCH] removed final from deprecated methods, restored fallback for getRequiredPlugin --- .../placeholderapi/expansion/PlaceholderExpansion.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/me/clip/placeholderapi/expansion/PlaceholderExpansion.java b/src/main/java/me/clip/placeholderapi/expansion/PlaceholderExpansion.java index d406331..4b313ee 100644 --- a/src/main/java/me/clip/placeholderapi/expansion/PlaceholderExpansion.java +++ b/src/main/java/me/clip/placeholderapi/expansion/PlaceholderExpansion.java @@ -87,7 +87,7 @@ public abstract class PlaceholderExpansion extends PlaceholderHook @Nullable 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 - public final String getPlugin() + public String getPlugin() { 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 - public final String getDescription() + public String getDescription() { 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 - public final String getLink() + public String getLink() { return null; }