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

Fix ItemTags, improve testing #630

Merged
merged 1 commit into from
Dec 21, 2023
Merged

Conversation

SamB440
Copy link
Contributor

@SamB440 SamB440 commented Dec 20, 2023

ItemTags is now tested with the same checks as BlockTags. It also had many broken tags like BlockTags had, that is now fixed (generated from booky10's script).

I also readded the states for REPLACEABLE_PLANTS, this line got deleted accidentally during the 1.20.3 update.

MockBukkit is now used to make a dummy plugin which is used by TestPacketEventsBuilder to set an API instance, as some stuff relating to ItemTags relies on this. Will also be useful for adding tests for other stuff in the future.

@retrooper retrooper merged commit a7c6f88 into retrooper:2.0 Dec 21, 2023
1 check passed
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