ForeverZer0 / SharpNBT

A pure CLS-compliant C# implementation of the Named Binary Tag (NBT) format specification commonly used with Minecraft applications, allowing easy reading/writing streams and serialization to other formats.
MIT License
25 stars 9 forks source link

Stringify returns incorrect values on CompoundTags #23

Closed ForeverZer0 closed 10 months ago

ForeverZer0 commented 10 months ago

There is flawed logic in the Stringify method of the CompoundTag class, and likely the ListTag as well. When appending children to the StringBuilder, it fails to call Stringify on them, therefore appending the ToString representation.

ForeverZer0 commented 10 months ago

Fixed with 82399f2 and deployed in 1.3.1.