fixed join server with password

This commit is contained in:
Niklas 2020-04-02 14:49:37 +02:00
parent 4bf65c6d7c
commit 0a36e2052f
2 changed files with 2 additions and 2 deletions

View File

@ -66,7 +66,7 @@ public class Server {
ArrayList<String> list = new ArrayList<>();
list.add("-connect=" + ip);
list.add("-port=" + port);
if (password.isEmpty())
if (!password.isEmpty())
list.add("-password=" + ip);
return list;
}

View File

@ -5,7 +5,7 @@
<modelVersion>4.0.0</modelVersion>
<properties>
<gui.version>0.1.1004</gui.version>
<gui.version>0.1.1005</gui.version>
</properties>
<groupId>de.mc8051</groupId>