Fix TAG_String's setValue and dataType member functions
This commit is contained in:
parent
9269130130
commit
33226cddb8
3
nbt.py
3
nbt.py
@ -169,8 +169,7 @@ class TAG_String(TAG_Value):
|
|||||||
|
|
||||||
tag = 8;
|
tag = 8;
|
||||||
fmt = ">h%ds"
|
fmt = ">h%ds"
|
||||||
def setValue(self, val):
|
dataType = str
|
||||||
_value = str(val)
|
|
||||||
|
|
||||||
def __init__(self, value="", name=None, data=""):
|
def __init__(self, value="", name=None, data=""):
|
||||||
self.name=name
|
self.name=name
|
||||||
|
Reference in New Issue
Block a user