Fix: TCPClient
This commit is contained in:
@@ -57,8 +57,7 @@ public class ClientHandler implements Runnable {
|
||||
@Override
|
||||
public void run() {
|
||||
try {
|
||||
in = new ObjectInputStream(clientSocket.getInputStream());
|
||||
out = new ObjectOutputStream(clientSocket.getOutputStream());
|
||||
|
||||
while (true) {
|
||||
NetworkEvent event = (NetworkEvent) in.readObject();
|
||||
if (!actionQueue.add(event)) {
|
||||
|
||||
Reference in New Issue
Block a user