mirror of
https://github.com/2006-Scape/Parabot.git
synced 2026-07-03 00:37:55 +00:00
Update Landing.java
Fixed small typo causing the -proxy command line arg to crash the client
This commit is contained in:
@@ -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 {
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user