NBT RawMessage fully support

This commit is contained in:
Tnze
2021-07-05 00:58:41 +08:00
parent 43588a8894
commit d7091db5b3
13 changed files with 196 additions and 94 deletions

View File

@ -40,7 +40,7 @@ func TestReadRegion(t *testing.T) {
t.Error(err)
}
var b interface{}
err = nbt.NewDecoder(r).Decode(&b)
_, err = nbt.NewDecoder(r).Decode(&b)
if err != nil {
t.Error(err)
}