fixed join server with password
This commit is contained in:
parent
4bf65c6d7c
commit
0a36e2052f
@ -66,7 +66,7 @@ public class Server {
|
|||||||
ArrayList<String> list = new ArrayList<>();
|
ArrayList<String> list = new ArrayList<>();
|
||||||
list.add("-connect=" + ip);
|
list.add("-connect=" + ip);
|
||||||
list.add("-port=" + port);
|
list.add("-port=" + port);
|
||||||
if (password.isEmpty())
|
if (!password.isEmpty())
|
||||||
list.add("-password=" + ip);
|
list.add("-password=" + ip);
|
||||||
return list;
|
return list;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user