[go: nahoru, domu]

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

Add support for 1.20.5 servers #50

Merged
merged 5 commits into from
Apr 28, 2024
Merged

Conversation

syldium
Copy link
Contributor
@syldium syldium commented Apr 24, 2024

The ClientboundSetScorePacket and ClientboundSetObjectivePacket classes now use Optional instead of null.

This PR uses the fact that the setField method will silently fail if there is no field with this type.

Tested on a fresh Spigot 1.20.5 build, and on Paper 1.20.4.

@MrMicky-FR MrMicky-FR added the enhancement New feature or request label Apr 24, 2024
@ShaneBeee
Copy link

Tested and looks good to me 👍🏻
Screenshot 2024-04-27 at 10 03 21 AM

@MrMicky-FR
Copy link
Owner

LGTM, just waiting for a Paper 1.20.5 build for testing on Paper before release

@ShaneBeee
Copy link

LGTM, just waiting for a Paper 1.20.5 build for testing on Paper before release

I should have stated... my picture there was tested on paper.
(albeit not using the adventure stuff)

@MrMicky-FR MrMicky-FR merged commit 177e5ea into MrMicky-FR:master Apr 28, 2024
4 checks passed
@MrMicky-FR
Copy link
Owner

Thanks !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants