Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adapt FastReflection for Paper 1.20.5 #53

Merged
merged 4 commits into from
May 1, 2024

Conversation

syldium
Copy link
Contributor

@syldium syldium commented Apr 28, 2024

Paper brought the end of the CraftBukkit package relocation. I guess I shouldn't have tested with a modified FastReflection class in my own plugin for #50.

The VERSION field is now an empty string on Paper 1.20.5, or on servers that have already previously disabled the relocation. I kept the OBC_PACKAGE static field because it is public, and some plugins may rely on it.

Tested on Paper 1.20.5, Paper 1.20.4 and Spigot 1.8.3, without Adventure.

@x9nico
Copy link

x9nico commented Apr 28, 2024

Paper brought the end of the CraftBukkit package relocation. I guess I shouldn't have tested with a modified FastReflection class in my own plugin for #50.

The VERSION field is now an empty string on Paper 1.20.5, or on servers that have already previously disabled the relocation. I kept the OBC_PACKAGE static field because it is public, and some plugins may rely on it.

Tested on Paper 1.20.5, Paper 1.20.4 and Spigot 1.8.3, without Adventure.

I tried with Adventure, it works again!
It's good for me.

@ShaneBeee
Copy link

Can confirm this also works on Spigot/Paper 1.20.6
Screenshot 2024-04-29 at 4 02 46 PM

@x9nico
Copy link

x9nico commented Apr 30, 2024

I tried in Paper 1.20.6 (build 28), it works to :)

2024-04-30_21 29 13

Copy link
Owner

@MrMicky-FR MrMicky-FR left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great LGTM, just waiting a bit in case there is others reviews/testing and we are good to go :)

Copy link

@x9nico x9nico left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just tested with the latest changes in Paper 1.20.5/6, works for me :)

Copy link

@xism4 xism4 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested on SternalBoard, works fine.

@MrMicky-FR MrMicky-FR merged commit 402661c into MrMicky-FR:master May 1, 2024
4 checks passed
@syldium syldium deleted the fix/cb-no-relocation branch May 20, 2024 15:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Paper 1.20.5] Lib incompatible ?
5 participants