[FIX] Enter serverName and address in console

This commit is contained in:
Gravita 2025-05-14 20:30:49 +07:00
parent 911ca1e69f
commit 2379fe5798

View file

@ -282,12 +282,12 @@ public void setConfig(Config config) {
@Override
public Config getDefaultConfig() {
Config newConfig = new Config();
newConfig.serverName = "your server name";
newConfig.serverName = "";
newConfig.mainclass = "";
newConfig.extendedTokens = new HashMap<>();
newConfig.args = new ArrayList<>();
newConfig.classpath = new ArrayList<>();
newConfig.address = "ws://localhost:9274/api";
newConfig.address = "";
newConfig.classLoaderConfig = ClientProfile.ClassLoaderConfig.SYSTEM_ARGS;
newConfig.env = LauncherConfig.LauncherEnvironment.STD;
newConfig.properties = new HashMap<>();