ViaVersion Sponge incompatability
Willsr71 opened this issue ยท 2 comments
Description
ViaVersion seems to be incompatible with LuckPerms on Sponge. The error is here.
I've narrowed this down to this line in ViaFacet of the LuckPerms adventure platform. The issue appears to stem from LuckPerms loading the class before ViaVersion. The class loaded has a static declaration, and one of the methods called references it's own plugin. LuckPerms manages this just fine, however when ViaVersion ends up loading it promptly fails as a result. I believe this could be solved with using a different Class.forName method, however i'm not terribly familiar with Sponge classloading if they do anything weird or the LuckPerms adventure platform.
Reproduction steps
Use the latest builds of LuckPerms and ViaVersion together on a Sponge server (tested with SpongeVanilla, probably the same on SpongeForge).
Environment details
SpongeVanilla 1.12.2 API 7.3.0
LuckPerms Sponge 5.2.78 (5.2.76 and some in-between versions also tested)
ViaVersion 3.2.2 (or latest dev 3.3.0, back to 3.2.0 was tested a bit ago)
Thanks for the report - as you noted, this issue is actually coming from one of the libraries LP uses, adventure-platform
.
Would you mind copying your report to the issue tracker here: https://github.com/KyoriPowered/adventure-platform/issues :)