Offroaders123 / Dovetail

A cross-platform NBT editor built on the web!
https://offroaders123.github.io/Dovetail/
GNU General Public License v2.0
79 stars 9 forks source link

Error when trying to save certain level.dat files #11

Closed REMDRIFT closed 3 weeks ago

REMDRIFT commented 3 weeks ago

I am modifying a level.dat file (version b1.7.3 specifically) and it shows an error when trying to save it. I have to tweak the "Movement" values to save it.

Here is the data of said level.dat https://pastebin.com/TqJzC9KG Or the file itself in an archive (GitHub does not accept "dat" file format) level.zip

Offroaders123 commented 3 weeks ago

Thanks for mentioning this issue!

It seems to be because of a bug in the older version of my NBTify library, which had to do with not properly parsing TAG_Double values in an SNBT string. It would incorrectly read values with exponents and think they were TAG_String instead, hence why the error occurred.

Just updated Dovetail to the latest version, and it appears to have fixed it.