fix TAG_List<TAG_Compound>

This commit is contained in:
Tnze
2021-05-27 01:03:52 +08:00
parent d0c7a295a5
commit 72599f7058
3 changed files with 11 additions and 4 deletions

View File

@ -38,7 +38,7 @@ func TestEncoder_WriteSNBT(t *testing.T) {
for i := range testCases {
buf.Reset()
if err := e.WriteSNBT(testCases[i].snbt); err != nil {
t.Error(err)
t.Errorf("Convert SNBT %q error: %v", testCases[i].snbt, err)
continue
}
want := testCases[i].nbt