make altcontrol not auto disconnect lmao

This commit is contained in:
Daniella / Tove 2024-05-31 20:04:17 +02:00
parent a77fbba876
commit b94cddf64c
Signed by: TudbuT
GPG key ID: B3CF345217F202D3

View file

@ -35,6 +35,7 @@ public class RemoteEventManager {
public void connect(@Nullable String ip) { public void connect(@Nullable String ip) {
try { try {
if(isConnected())
end(); end();
server = new ServerSocket(Setup.Port); server = new ServerSocket(Setup.Port);
initServer(); initServer();