Update to 1.4.4 protocol changes and removed weird old gui artifact

This commit is contained in:
Ammar Askar committed 2012-11-23 18:34:35 +05:00
1 parent f2d19d5b83
commit 3d8211b031
5 files changed
+9 -11

No files matched your search

+2 -7
View File
@@ -85,13 +85,8 @@ class ServerConnection(threading.Thread):
response = urllib2.urlopen(url).read()
if(response != "OK"):
#handle gui errors
if(self.NoGUI == False):
self.window.ConnectPanel.Status.SetFont(wx.Font(15, wx.MODERN, wx.NORMAL, wx.NORMAL, 0, "Minecraft"))
self.window.ConnectPanel.Status.SetLabel("Response from sessions.minecraft.net wasn't OK")
else:
print "Response from sessions.minecraft.net wasn't OK, it was " + response
return False
print "Response from sessions.minecraft.net wasn't OK, it was " + response
return False
#Success \o/ We can now begin sending our stuff to the server