This commit is contained in:
Zach 2015-05-10 08:06:19 -05:00
parent 55d06848e6
commit 1d8f4bea81

View file

@ -221,7 +221,11 @@ class Nametag:
self.chatTextNode.setText(chatText) self.chatTextNode.setText(chatText)
def getChatText(self): def getChatText(self):
return self.chatTextNode.getText() try:
text = self.chatTextNode.getText()
return text
except AttributeError:
return None
def setWordWrap(self, wordWrap): def setWordWrap(self, wordWrap):
if wordWrap is None: if wordWrap is None: