Enklume icon indicating copy to clipboard operation
Enklume copied to clipboard

TAG_LONG_ARRAY is not supported

Open lbenedetto opened this issue 5 years ago • 2 comments

When reading a 1.16 world, I encounter the following error.

Out of bounds type exception: 12 Last valid type was : TAG_INT_ARRAY

I can see in the NBT Format docs that a new tag was added called TAG_Long_Array

I tried to add a new NBTLongArray by copy pasting NBTIntArray and changes the type to long, but it didn't seem to work, I just get a bunch of errors like

Out of bounds type exception: 41 Last valid type was : TAG_LONG_ARRAY
Out of bounds type exception: 249 Last valid type was : TAG_LONG_ARRAY
Out of bounds type exception: 58 Last valid type was : TAG_LONG_ARRAY

lbenedetto avatar Oct 17 '20 14:10 lbenedetto

I have not been updating this for a while, so that's to be expected. Can you share your fork ?

Hugobros3 avatar Oct 17 '20 16:10 Hugobros3

Sure. I made a pull request, but like I said, it doesn't work. https://github.com/Hugobros3/Enklume/pull/2/

lbenedetto avatar Oct 17 '20 17:10 lbenedetto