mirror of
https://github.com/GravitLauncher/Launcher
synced 2025-05-31 14:47:00 +03:00
[FIX] Enter serverName and address in console
This commit is contained in:
parent
911ca1e69f
commit
2379fe5798
1 changed files with 2 additions and 2 deletions
|
@ -282,12 +282,12 @@ public void setConfig(Config config) {
|
||||||
@Override
|
@Override
|
||||||
public Config getDefaultConfig() {
|
public Config getDefaultConfig() {
|
||||||
Config newConfig = new Config();
|
Config newConfig = new Config();
|
||||||
newConfig.serverName = "your server name";
|
newConfig.serverName = "";
|
||||||
newConfig.mainclass = "";
|
newConfig.mainclass = "";
|
||||||
newConfig.extendedTokens = new HashMap<>();
|
newConfig.extendedTokens = new HashMap<>();
|
||||||
newConfig.args = new ArrayList<>();
|
newConfig.args = new ArrayList<>();
|
||||||
newConfig.classpath = new ArrayList<>();
|
newConfig.classpath = new ArrayList<>();
|
||||||
newConfig.address = "ws://localhost:9274/api";
|
newConfig.address = "";
|
||||||
newConfig.classLoaderConfig = ClientProfile.ClassLoaderConfig.SYSTEM_ARGS;
|
newConfig.classLoaderConfig = ClientProfile.ClassLoaderConfig.SYSTEM_ARGS;
|
||||||
newConfig.env = LauncherConfig.LauncherEnvironment.STD;
|
newConfig.env = LauncherConfig.LauncherEnvironment.STD;
|
||||||
newConfig.properties = new HashMap<>();
|
newConfig.properties = new HashMap<>();
|
||||||
|
|
Loading…
Reference in a new issue