mirror of
https://github.com/2006-Scape/Parabot.git
synced 2026-07-07 08:39:12 +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);
|
NetworkInterface.setMac(mac);
|
||||||
break;
|
break;
|
||||||
case "-proxy":
|
case "-proxy":
|
||||||
ProxyType type = ProxyType.valueOf(args[i++].toUpperCase());
|
ProxyType type = ProxyType.valueOf(args[++i].toUpperCase());
|
||||||
if(type == null){
|
if(type == null){
|
||||||
System.err.println("Invalid proxy type:" + args[i]);
|
System.err.println("Invalid proxy type:" + args[i]);
|
||||||
System.exit(1);
|
System.exit(1);
|
||||||
@@ -166,4 +166,4 @@ public final class Landing {
|
|||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user