Closed Fluggs closed 1 month ago
I've actually started preparing 1.21.1 support this morning and I've released it just now.
The code you found is actually the most important one for Paper support right now, but it actually handles Paper servers in the catch-block: https://github.com/SpraxDev/LimeDevUtility/blob/master/modules/spigot/lime-spigot-api/src/main/java/de/sprax2013/lime/spigot/nms/NmsVersionDetector.java#L29-L30
The mapping just has to be updated for new Paper versions to work.
I'll close the issue but let me know if v1.10.0 still doesn't work for you!
Tested and works, thanks!
Thanks for testing and letting me know!
Describe the bug Paper 1.21.1 does not seem to be supported. When I try to sit, nothing happens and an error is thrown in the server console.
To Reproduce
Screenshots, Videos, Logs or Errors Launch:
Sitting:
Additional context Digging around in the plugin, I found the version parsing here: https://github.com/SpraxDev/LimeDevUtility/blob/master/modules/spigot/lime-spigot-api/src/main/java/de/sprax2013/lime/spigot/nms/NmsVersionDetector.java#L26
return Optional.of(Bukkit.getServer().getClass().getPackage().getName().split("\\.")[3]);
Quoting paper docs ( https://docs.papermc.io/paper/dev/internals ):