Fix TAG_String's setValue and dataType member functions

This commit is contained in:
Caleb Deveraux 2010-09-26 20:33:51 -06:00
parent 9269130130
commit 33226cddb8

3
nbt.py
View File

@ -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