Closed Lorenzo0111 closed 3 months ago
I've pushed my code here
your build setup is producing jars which have duplicate entries, the classes listed in that error are inside of the jar more than once
https://github.com/Lorenzo0111/RocketJoin/blob/dev/update/bukkit/build.gradle#L58 - is the issue, you shouldn't be depending out the output of shadowJar that way, shadow won't be able to handle duplicate class defs when done that way
Expected behavior
Plugin should work normally
Observed/Actual behavior
Received this exception while loading my plugin jar. I've attached it below RocketJoin-bukkit-2.4.2.zip
Steps/models to reproduce
Just load my plugin
Plugin and Datapack List
RocketJoin
Paper version
[15:38:53 INFO]: This server is running Paper version 1.21-37-master@dd49fba (2024-06-24T02:08:49Z) (Implementing API version 1.21-R0.1-SNAPSHOT) You are running the latest version Previous version: 1.21-28-812701d (MC: 1.21)
Other
No response