Shaded packetevents and ViaVersion weird error
Has anyone encountered this error before?
It happens with latest dev builds for ViaVersion, ViaBackwards and latest packetevents release
Server is pufferfish 1.21.3 and probably any client, I tested with 1.21.3 and 1.8.9
The error triggers by simply pinging the server.
Interesting fact: This only happens if the plugin is a paper plugin (using a
paper-plugin.yml
), the exact same jar with a plugin.yml
doesn't trigger the error, no need to re-compile.
https://paste.helpch.at/ubobahumaz.phpSolution:Jump to solution
Probably related to how paper loads plugins or something like that, just adding ViaVersion as a soft dependency to load before the plugin (in paper-plugin.yml) fixes it
4 Replies
I mean dev builds are dev builds for a reason
Forgot to update on this (I also asked on packetevents discord)
Solution
Probably related to how paper loads plugins or something like that, just adding ViaVersion as a soft dependency to load before the plugin (in paper-plugin.yml) fixes it
As for why it doesnโt happen when using a regular plugin.yml
:msnwhoa: :papermc: