From 47cf34bbfdce15df4a7724b51cd7cd60362995e8 Mon Sep 17 00:00:00 2001 From: Caleb Deveraux Date: Mon, 27 Sep 2010 10:33:51 +0800 Subject: [PATCH] Fix TAG_String's setValue and dataType member functions --- nbt.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/nbt.py b/nbt.py index 0479e8b..c5a97ec 100644 --- a/nbt.py +++ b/nbt.py @@ -169,8 +169,7 @@ class TAG_String(TAG_Value): tag = 8; fmt = ">h%ds" - def setValue(self, val): - _value = str(val) + dataType = str def __init__(self, value="", name=None, data=""): self.name=name