Merge tag 'v5.2.4b2' into dev

This commit is contained in:
Gravita 2021-10-16 00:41:29 +07:00
commit b543aaf4a6
2 changed files with 3 additions and 3 deletions

View file

@ -7,7 +7,7 @@ public final class Version implements Comparable<Version> {
public static final int MAJOR = 5; public static final int MAJOR = 5;
public static final int MINOR = 2; public static final int MINOR = 2;
public static final int PATCH = 4; public static final int PATCH = 4;
public static final int BUILD = 1; public static final int BUILD = 2;
public static final Version.Type RELEASE = Type.STABLE; public static final Version.Type RELEASE = Type.STABLE;
public final int major; public final int major;
public final int minor; public final int minor;

View file

@ -174,9 +174,9 @@ public void run(String... args) throws Throwable {
System.arraycopy(args, 1, real_args, 0, args.length - 1); System.arraycopy(args, 1, real_args, 0, args.length - 1);
} else real_args = args; } else real_args = args;
mainMethod.invokeWithArguments(real_args); mainMethod.invoke(real_args);
} else { } else {
mainMethod.invokeWithArguments(config.args.toArray(new String[0])); mainMethod.invoke(config.args.toArray(new String[0]));
} }
} }