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

Exception occurs in RtagItem (ItemStack item) #7

Closed
snowpegeon opened this issue Apr 30, 2024 · 3 comments
Closed

Exception occurs in RtagItem (ItemStack item) #7

snowpegeon opened this issue Apr 30, 2024 · 3 comments

Comments

@snowpegeon
Copy link

Hello, I have seen a case where an Exception occurs when trying to create RTagItem (ItemStack) with RTag1.5.2&Minecraft1.20.6.
The same code works in RTag1.5.0&Minecraft1.20.5.

Below is the error information.
Caused by: java.lang.RuntimeException: Cannot get tag from custom data component
Location of error

return getTag.invoke(customData);

This text was created using translation software.

@Rubenicos
Copy link
Collaborator

Rubenicos commented Apr 30, 2024

Can you give a code example and also the full error?

@Rubenicos
Copy link
Collaborator

Use the latest version.

@snowpegeon
Copy link
Author

I was able to confirm that the error has been resolved with the latest version.
Thank you for your quick response!

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

No branches or pull requests

2 participants