Default arguments for jar/gradle run

This commit is contained in:
Pazaz 2022-04-20 20:54:04 -04:00
parent 6d585ea21d
commit b3fd9e76cf

View file

@ -17,7 +17,12 @@ public final class client extends GameShell {
public static void main(@OriginalArg(0) String[] arg0) { public static void main(@OriginalArg(0) String[] arg0) {
try { try {
if (arg0.length != 4) { if (arg0.length != 4) {
Static131.method2577("argument count"); arg0 = new String[4];
arg0[0] = "1";
arg0[1] = "live";
arg0[2] = "english";
arg0[3] = "game0";
// Static131.method2577("argument count");
} }
@Pc(15) int local15 = -1; @Pc(15) int local15 = -1;
Static187.worldListId = Integer.parseInt(arg0[0]); Static187.worldListId = Integer.parseInt(arg0[0]);