diff --git a/docs/apis/NbtAPI/NBTCompound.md b/docs/apis/NbtAPI/NBTCompound.md index bd83e92..2867c93 100644 --- a/docs/apis/NbtAPI/NBTCompound.md +++ b/docs/apis/NbtAPI/NBTCompound.md @@ -116,8 +116,8 @@ Possible return values ​​are: `NBT.End` `NBT.Byte` `NBT.Short` `NBT.Int` `NB - tag: `NBT Object` NBT object to be written (it carries specific NBT data). The write data type must be the same as the data type stored in the value corresponding to the key, and the key name may not exist. -- Return value: Whether the write was successful or not. -- Return value type: `Boolean` +- Return value: CompoundTag itself. +- Return value type: `NBTCompound` diff --git a/docs/apis/NbtAPI/NBTCompound.zh.md b/docs/apis/NbtAPI/NBTCompound.zh.md index 78ab88f..b345ad3 100644 --- a/docs/apis/NbtAPI/NBTCompound.zh.md +++ b/docs/apis/NbtAPI/NBTCompound.zh.md @@ -116,8 +116,8 @@ local nbt = NbtCompound({ - tag: `NBT对象` 要写入的 NBT 对象(它承载着具体的NBT数据) 写入数据类型必须和键对应的值储存的数据类型一致,键名可以不存在 -- 返回值:是否成功写入 -- 返回值类型:`Boolean` +- 返回值:CompoundTag自身 +- 返回值类型:`NBTCompound`