mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-12-23 00:51:01 +03:00
Merge branch 'hotfix/serverwrapperfail'
This commit is contained in:
commit
34e5b9027e
2 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
|
|
|
@ -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]));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue