mirror of
https://github.com/ammaraskar/pyCraft.git
synced 2024-11-16 07:15:24 +01:00
Moved networking stuff to network package
Fixed message duping bug
This commit is contained in:
parent
2139c7cbd0
commit
a3a442db3a
3
GUI.py
3
GUI.py
@ -4,8 +4,7 @@ import wx.richtext as rt
|
||||
import start
|
||||
import threading
|
||||
import time
|
||||
import NetworkManager
|
||||
import PacketSenderManager
|
||||
from networking import NetworkManager, PacketSenderManager
|
||||
import thread
|
||||
from threading import Lock
|
||||
|
||||
|
@ -113,7 +113,6 @@ class PacketListener(threading.Thread):
|
||||
print message.replace(u'\xa7', '&')
|
||||
elif(self.window):
|
||||
self.window.handleChat(message)
|
||||
print message
|
||||
if(response[0] == "\x04"):
|
||||
PacketListenerManager.handle04(self.FileObject)
|
||||
if(response[0] == "\x05"):
|
0
networking/__init__.py
Normal file
0
networking/__init__.py
Normal file
Loading…
Reference in New Issue
Block a user