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

Root tag may not be a Compound #52

Closed
dktapps opened this issue Dec 2, 2019 · 0 comments · Fixed by #53
Closed

Root tag may not be a Compound #52

dktapps opened this issue Dec 2, 2019 · 0 comments · Fixed by #53

Comments

@dktapps
Copy link
Member

dktapps commented Dec 2, 2019

On the master branch (targeted for 0.3) the API has been changed to assume that the root tag of a valid NBT tree should always be a CompoundTag. However, recent developments in Bedrock 1.13 have shown us that this assumption is false, despite what is written in the original NBT specification.

It's now possible to get a ListTag as root (see, for example, the StartGamePacket block palette), and possibly other tags too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant