mirror of
https://github.com/2006-Scape/2006Scape.git
synced 2026-07-03 08:39:04 +00:00
Add -w/-world arg to client
This commit is contained in:
@@ -28,7 +28,7 @@ public class ClientSettings {
|
||||
* World 1 Will Connect On Port 43594
|
||||
* World 2 Will Connect On Port 43597
|
||||
*/
|
||||
public final static int SERVER_WORLD = 1;
|
||||
public static int SERVER_WORLD = 1;
|
||||
/**
|
||||
* The Npc Bits for the Server
|
||||
*/
|
||||
|
||||
@@ -45,6 +45,10 @@ public final class Main {
|
||||
case "-password":
|
||||
game.myPassword = args[++i];
|
||||
break;
|
||||
case "-w":
|
||||
case "-world":
|
||||
ClientSettings.SERVER_WORLD = Integer.parseInt(args[++i]);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user