adjust nbt encoding api

This commit is contained in:
Tnze
2021-04-04 01:09:45 +08:00
parent 78d56a0c50
commit 086b77f389
2 changed files with 9 additions and 18 deletions

View File

@ -172,7 +172,7 @@ func TestMarshal_StructArray(t *testing.T) {
func TestMarshal_bigTest(t *testing.T) {
var b bytes.Buffer
err := MarshalCompound(&b, MakeBigTestStruct(), "Level")
err := Marshal(&b, MakeBigTestStruct(), "Level")
if err != nil {
t.Error(err)
}