fix: bundle adventure-nbt to resolve NoClassDefFoundError on Folia/Paper
PacketEvents declares adventure-nbt as a compile dependency but does not bundle it inside its own jar. The server does not expose net.kyori.adventure.nbt to plugin classloaders, causing NoClassDefFoundError: net/kyori/adventure/nbt/BinaryTag at startup inside SynchronizedRegistriesHandler. Fixes: - Remove adventure-nbt exclusion filter from maven-shade-plugin so all 75 net.kyori.adventure.nbt classes are bundled in the shaded jar - Upgrade PacketEvents 2.12.0 -> 2.12.2 (adventure-nbt 4.25.0 -> 4.26.1, improved compatibility with modern Paper/Folia builds) - Bump plugin version 3.1.0 -> 3.1.1
This commit is contained in:
1 parent
de75414387
commit
7e2cefdb7f
2 files changed
+3
-7
No files matched your search
@@ -6,7 +6,7 @@
|
||||
|
||||
<groupId>me.legendcraft</groupId>
|
||||
<artifactId>AntiSeedCracker</artifactId>
|
||||
<version>3.1.0</version>
|
||||
<version>3.1.1</version>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<name>AntiSeedCracker</name>
|
||||
@@ -43,7 +43,7 @@
|
||||
<dependency>
|
||||
<groupId>com.github.retrooper</groupId>
|
||||
<artifactId>packetevents-spigot</artifactId>
|
||||
<version>2.12.0</version>
|
||||
<version>2.12.2</version>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
|
||||
@@ -120,10 +120,6 @@
|
||||
<artifact>net.kyori:adventure-key</artifact>
|
||||
<excludes><exclude>**</exclude></excludes>
|
||||
</filter>
|
||||
<filter>
|
||||
<artifact>net.kyori:adventure-nbt</artifact>
|
||||
<excludes><exclude>**</exclude></excludes>
|
||||
</filter>
|
||||
<filter>
|
||||
<artifact>net.kyori:examination-api</artifact>
|
||||
<excludes><exclude>**</exclude></excludes>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
name: AntiSeedCracker
|
||||
version: '3.1.0'
|
||||
version: '3.1.1'
|
||||
main: me.legendcraft.antiseedcracker.AntiSeedCrackerPlugin
|
||||
api-version: '26.1'
|
||||
folia-supported: true
|
||||
|
||||
Reference in new issue
Block a user