feat: 实现 ProtocolLib 自定义标题

This commit is contained in:
Coldsmile_7
2026-04-15 03:07:25 +08:00
parent cc07647551
commit 6452226151
5 changed files with 73 additions and 14 deletions

13
pom.xml
View File

@@ -90,6 +90,11 @@
<id>papermc-repo</id>
<url>https://repo.papermc.io/repository/maven-public/</url>
</repository>
<!-- ProtocolLib 仓库 -->
<repository>
<id>dmulloy2-repo</id>
<url>https://repo.dmulloy2.net/repository/public/</url>
</repository>
</repositories>
<dependencies>
@@ -99,5 +104,13 @@
<version>1.21.11-R0.1-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<!-- ProtocolLib 依赖 (5.4.0+ 迁移到 Maven Central) -->
<dependency>
<groupId>net.dmulloy2</groupId>
<artifactId>ProtocolLib</artifactId>
<version>5.4.0</version>
<scope>provided</scope>
</dependency>
</dependencies>
</project>