修复了在spigot相关核心下无法连接papi的问题
All checks were successful
Java CI-CD with Maven / build (push) Successful in 15m20s

This commit is contained in:
zhangyuheng 2024-09-29 00:31:18 +08:00
parent 11856a29a6
commit 40e561bff1
2 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@
<groupId>cn.lunadeer</groupId> <groupId>cn.lunadeer</groupId>
<artifactId>MiniPlayerTitle</artifactId> <artifactId>MiniPlayerTitle</artifactId>
<version>4.7.0</version> <version>4.7.1</version>
<packaging>jar</packaging> <packaging>jar</packaging>
<name>MiniPlayerTitle</name> <name>MiniPlayerTitle</name>

View File

@ -52,6 +52,6 @@ public class Expansion extends PlaceholderExpansion {
@Override @Override
public @NotNull String getVersion() { public @NotNull String getVersion() {
return plugin.getPluginMeta().getVersion(); return MiniPlayerTitle.instance.getDescription().getVersion();
} }
} }