From 40e561bff113c4fbf18ca9cc711ae3ba408bf874 Mon Sep 17 00:00:00 2001 From: zhangyuheng Date: Sun, 29 Sep 2024 00:31:18 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=BA=86=E5=9C=A8spigot?= =?UTF-8?q?=E7=9B=B8=E5=85=B3=E6=A0=B8=E5=BF=83=E4=B8=8B=E6=97=A0=E6=B3=95?= =?UTF-8?q?=E8=BF=9E=E6=8E=A5papi=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pom.xml | 2 +- src/main/java/cn/lunadeer/miniplayertitle/Expansion.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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(); } }