diff --git a/pom.xml b/pom.xml index 11b0a0f..74648e5 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ cn.lunadeer MiniPlayerTitle - 4.7.0 + 4.7.1 jar MiniPlayerTitle diff --git a/src/main/java/cn/lunadeer/miniplayertitle/Expansion.java b/src/main/java/cn/lunadeer/miniplayertitle/Expansion.java index ad547f1..672f56f 100644 --- a/src/main/java/cn/lunadeer/miniplayertitle/Expansion.java +++ b/src/main/java/cn/lunadeer/miniplayertitle/Expansion.java @@ -52,6 +52,6 @@ public class Expansion extends PlaceholderExpansion { @Override public @NotNull String getVersion() { - return plugin.getPluginMeta().getVersion(); + return MiniPlayerTitle.instance.getDescription().getVersion(); } }