File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -116,8 +116,8 @@ Possible return values are: `NBT.End` `NBT.Byte` `NBT.Short` `NBT.Int` `NB
116116 - tag: ` NBT Object `
117117 NBT object to be written (it carries specific NBT data).
118118 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.
119- - Return value: Whether the write was successful or not .
120- - Return value type: ` Boolean `
119+ - Return value: CompoundTag itself .
120+ - Return value type: ` NBTCompound `
121121
122122
123123
Original file line number Diff line number Diff line change @@ -116,8 +116,8 @@ local nbt = NbtCompound({
116116 - tag: ` NBT对象 `
117117 要写入的 NBT 对象(它承载着具体的NBT数据)
118118 写入数据类型必须和键对应的值储存的数据类型一致,键名可以不存在
119- - 返回值:是否成功写入
120- - 返回值类型:` Boolean `
119+ - 返回值:CompoundTag自身
120+ - 返回值类型:` NBTCompound `
121121
122122
123123
You can’t perform that action at this time.
0 commit comments