Update Landing.java

Fixed small typo causing the -proxy command line arg to crash the client
This commit is contained in:
matt123337
2015-03-11 08:26:27 -04:00
parent a6ced6adf5
commit 749e5baa1d
+2 -2
View File
@@ -150,7 +150,7 @@ public final class Landing {
NetworkInterface.setMac(mac);
break;
case "-proxy":
ProxyType type = ProxyType.valueOf(args[i++].toUpperCase());
ProxyType type = ProxyType.valueOf(args[++i].toUpperCase());
if(type == null){
System.err.println("Invalid proxy type:" + args[i]);
System.exit(1);
@@ -166,4 +166,4 @@ public final class Landing {
}
}
}
}