summaryrefslogtreecommitdiff
path: root/nbt/nbt.go
diff options
context:
space:
mode:
authorKevin Chabowski <kevin@kch42.de>2013-08-07 14:29:58 +0200
committerKevin Chabowski <kevin@kch42.de>2013-08-07 14:29:58 +0200
commitb990c3d2db0280f0c4b3dccc2520caf5f2b6b6e6 (patch)
tree721c052cabe115edeb45f7ad02962c12cdb21df6 /nbt/nbt.go
parent5a12f9e05c7cc608ba9685e50eabab21f7fc1f51 (diff)
downloadgonbt-b990c3d2db0280f0c4b3dccc2520caf5f2b6b6e6.tar.gz
gonbt-b990c3d2db0280f0c4b3dccc2520caf5f2b6b6e6.tar.bz2
gonbt-b990c3d2db0280f0c4b3dccc2520caf5f2b6b6e6.zip
Added functions to create NBT data + tests.
Diffstat (limited to 'nbt/nbt.go')
-rw-r--r--nbt/nbt.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/nbt/nbt.go b/nbt/nbt.go
index fe9f7a4..dd8db1d 100644
--- a/nbt/nbt.go
+++ b/nbt/nbt.go
@@ -82,7 +82,7 @@ func (t Tag) String() string {
return s
}
-// TagCompund is the payload of a TAG_Compound.
+// TagCompund is the payload of a TAG_Compound. Initialize with make.
type TagCompound map[string]Tag
func readTagData(r io.Reader, tt TagType) (interface{}, error) {