AltControl implementation #7
1 changed files with 2 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue