fix(multiplayer): incorrect cato option name.

This commit is contained in:
huanghongxun 2021-12-18 19:54:51 +08:00
parent 678be4b92f
commit 041ab30778

View File

@ -132,7 +132,7 @@ public final class MultiplayerManager {
throw e; throw e;
} }
String[] commands = new String[]{exe.toString(), "--token", StringUtils.isBlank(token) ? "new" : token}; String[] commands = new String[]{exe.toString(), "-client.token", StringUtils.isBlank(token) ? "new" : token};
Process process = new ProcessBuilder() Process process = new ProcessBuilder()
.command(commands) .command(commands)
.start(); .start();