Fix a memory leak error caused by incorrect parsign of ByteArrays.
ByteArrays are now skipped completely when parsing nbt data since they
take up a lot of memory. The NBT Data is now parsed dynamically from
the BufReader of the file rather than using a preallocated slice.
Signed-off-by: trivernis <trivernis@protonmail.com>
The scan command looks for different section counts in the locations
table and optionally fixes it.
Signed-off-by: trivernis <trivernis@protonmail.com>