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 NBTList.set throwing UnsupportedOperationException #10

Merged

Conversation

PureGero
Copy link
Contributor

NBTList.set used super.set and threw UnsupportedOperationException.
This PR changes NBTList.set to use decorated.set instead.
Unit tests for NBTList have also been included in this PR.

@TheNullicorn TheNullicorn added the bug Something isn't working label Sep 15, 2021
@TheNullicorn
Copy link
Owner

LGTM, appreciate the tests!

@TheNullicorn TheNullicorn merged commit 21fecc2 into TheNullicorn:master Sep 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants