From 33226cddb85c62af846151ee824fae63f1e74dfc Mon Sep 17 00:00:00 2001 From: Caleb Deveraux Date: Sun, 26 Sep 2010 20:33:51 -0600 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 2fe75db..080efd8 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