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

Use Bukkit Registry API where possible #2573

Merged
merged 1 commit into from
Jul 12, 2024

Conversation

me4502
Copy link
Member

@me4502 me4502 commented Jul 7, 2024

This PR functionally makes no changes (other than being able to remove the EntityType.UNKNOWN workaround), but will prepare us better for when Spigot drop the enums. We'll still have to split the material iterator out into ItemType/BlockType, but we'll automatically benefit from changes such as custom biome support.

This should also fix Material.values()-related issues when Commodore is disabled, although it won't run without it on Paper anyway due to remapping.

@me4502 me4502 requested a review from a team as a code owner July 7, 2024 12:13
@me4502 me4502 force-pushed the chore/use-bukkit-registry-api branch from ad72e46 to 3fc4b2f Compare July 7, 2024 12:13
@me4502 me4502 merged commit 292dae6 into version/7.3.x Jul 12, 2024
5 checks passed
@me4502 me4502 deleted the chore/use-bukkit-registry-api branch July 12, 2024 02:02
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.

2 participants