multiple servers impl (does not work yet)

This commit is contained in:
js 2020-03-03 19:47:21 +01:00 committed by Louis
parent c981309ef6
commit 11e965acc8

View File

@ -25,7 +25,7 @@ public class HostList{
Scanner scanner = new Scanner(System.in);
String servName = "";
do {
System.out.println("Name of the next server:");
System.out.println("Name of the next server: (or \"stop\" when finished)");
servName = scanner.nextLine();
if (servName != "stop"){
serverList.add(servName);