Anonymous field handling for NBT

This commit is contained in:
Tnze
2023-04-26 21:51:41 +08:00
parent 9582bc2a7e
commit 078aaba156
8 changed files with 377 additions and 72 deletions

View File

@ -466,7 +466,7 @@ func TestDecoder_Decode_ErrorUnknownField(t *testing.T) {
func TestDecoder_Decode_keysWithComma(t *testing.T) {
data := []byte{
TagCompound, 0, 1, 'S',
TagString, 0, 1, 'T',
TagString, 0, 1, 't',
0, 4, 'T', 'n', 'z', 'e',
TagEnd,
}