mirror of
https://github.com/2006-Scape/2006Scape.git
synced 2026-07-03 00:31:51 +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 1 Will Connect On Port 43594
|
||||||
* World 2 Will Connect On Port 43597
|
* 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
|
* The Npc Bits for the Server
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -45,6 +45,10 @@ public final class Main {
|
|||||||
case "-password":
|
case "-password":
|
||||||
game.myPassword = args[++i];
|
game.myPassword = args[++i];
|
||||||
break;
|
break;
|
||||||
|
case "-w":
|
||||||
|
case "-world":
|
||||||
|
ClientSettings.SERVER_WORLD = Integer.parseInt(args[++i]);
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user