libraryaddict / LibsDisguises

Minecraft disguise plugin
https://www.spigotmc.org/resources/libs-disguises.32453/
Other
262 stars 129 forks source link

[1.21] Spigot/Paper new registries instead of enums #764

Closed Aurelien30000 closed 4 months ago

Aurelien30000 commented 4 months ago

Hi,

Due to recent Spigot/Paper changes related to enums conversion (registries), LibsDisguise is unable to work properly. I'm facing the following error during plugin launch since a recent Paper build that introduces some registries instead of enums.

https://paste.domicraft.fr/cesuneliqa.md

One of the affected line: https://github.com/libraryaddict/LibsDisguises/blob/master/plugin/src/main/java/me/libraryaddict/disguise/utilities/params/ParamInfoTypes.java#L100

According to the Paper announcement , here are the notable changes : Move cat and frog variants, map cursor types, and villager types+profession from enums to constants of an interface.

Thanks in advance for your help :D If you need more details do not hesitate!

LibsDisguise plugin: 10.0.44-SNAPSHOT

Paper server: This server is running Paper version 1.21-93-master@d08e8d1 (2024-07-18T22:39:15Z) (Implementing API version 1.21-R0.1-SNAPSHOT)

libraryaddict commented 4 months ago

Can't reproduce, provide your startup log and make sure you're on the latest dev build.

Aurelien30000 commented 4 months ago

Oh I'm really sorry, I completely forgot about the dev build. It works fine. Thanks again!