diff --git a/Client/src/main/java/com/baseband/client/event/remote/RemoteEventManager.java b/Client/src/main/java/com/baseband/client/event/remote/RemoteEventManager.java index f41eb1b..4700c3b 100644 --- a/Client/src/main/java/com/baseband/client/event/remote/RemoteEventManager.java +++ b/Client/src/main/java/com/baseband/client/event/remote/RemoteEventManager.java @@ -35,7 +35,8 @@ public class RemoteEventManager { public void connect(@Nullable String ip) { try { - end(); + if(isConnected()) + end(); server = new ServerSocket(Setup.Port); initServer(); } catch (IOException e) {