Allow compound tag with empty name
This commit is contained in:
parent
d6e0075b74
commit
7f020e1c51
|
@ -306,7 +306,7 @@ public class TagWriter : TagIO
|
||||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||||
private void WriteTypeAndName(Tag tag)
|
private void WriteTypeAndName(Tag tag)
|
||||||
{
|
{
|
||||||
if (tag.Parent is ListTag || string.IsNullOrEmpty(tag.Name))
|
if (tag.Parent is ListTag)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
BaseStream.WriteByte((byte) tag.Type);
|
BaseStream.WriteByte((byte) tag.Type);
|
||||||
|
|
Loading…
Reference in New Issue