diff --git a/nbt/nbt.py b/nbt/nbt.py index 884c586..011e38f 100644 --- a/nbt/nbt.py +++ b/nbt/nbt.py @@ -132,7 +132,7 @@ def _render_buffer(self, buffer): length = len(self.value) self.update_fmt(length) TAG_Int(length)._render_buffer(buffer) - buffer.write(pack(self.fmt, self.value)) + buffer.write(pack(self.fmt, *self.value)) #Printing and Formatting of tree def __repr__(self):