Merge branch 'hotfix/serverwrapperfail'

This commit is contained in:
Gravita 2021-10-16 00:40:00 +07:00
commit 34e5b9027e
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 MINOR = 2;
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 final int major;
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);
} else real_args = args;
mainMethod.invokeWithArguments(real_args);
mainMethod.invoke(real_args);
} else {
mainMethod.invokeWithArguments(config.args.toArray(new String[0]));
mainMethod.invoke(config.args.toArray(new String[0]));
}
}