fixed loud

This commit is contained in:
Zach 2015-05-10 08:42:55 -05:00
parent 3668fa58b0
commit d67de6ca4e

View file

@ -215,7 +215,11 @@ class Nametag:
self.textNode.setText(text) self.textNode.setText(text)
def getText(self): def getText(self):
return self.textNode.getText() try:
text = self.textNode.getText()
return text
except AttributeError:
return None
def setChatText(self, chatText): def setChatText(self, chatText):
self.chatTextNode.setText(chatText) self.chatTextNode.setText(chatText)