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 test for org.bukkit.craftbukkit.entity.CraftMinecart#minecartEntityTypeToMaterial #11544

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

Abelkrijgtalles
Copy link
Contributor

@Abelkrijgtalles Abelkrijgtalles commented Oct 31, 2024

Hi, I hope you're having a wonderful day.
I've added a test for org.bukkit.craftbukkit.entity.CraftMinecart#minecartEntityTypeToMaterial, as requested in #11511.
The current approach gets the short string of the entitytype (like chest_minecart), and gets the item with the corresponding ResourceLocation (see this comment).
Repost of #11536

@Abelkrijgtalles Abelkrijgtalles requested a review from a team as a code owner October 31, 2024 21:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Awaiting review
Development

Successfully merging this pull request may close these issues.

1 participant