mirror of
https://gitlab.bixilon.de/bixilon/minosoft.git
synced 2025-09-13 01:16:46 -04:00
server list: fix no connection error after refresh when first ping failed
This commit is contained in:
parent
de05416943
commit
6805326c03
@ -59,6 +59,7 @@ public class SocketNetwork implements Network {
|
||||
|
||||
@Override
|
||||
public void connect(ServerAddress address) {
|
||||
lastException = null;
|
||||
// check if we are already connected or try to connect
|
||||
if (connection.isConnected() || connection.getConnectionState() == ConnectionStates.CONNECTING) {
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user