Oops - possibly fixed the cause of the lag&crash
TBMCPlugins/PluginConfigs#69
This commit is contained in:
parent
8310e0889b
commit
290aaca11d
1 changed files with 1 additions and 1 deletions
|
@ -170,7 +170,7 @@ public class ServerRunner {
|
|||
}
|
||||
|
||||
private static Process startServer(Config config, File serverJar) throws IOException {
|
||||
return Runtime.getRuntime().exec(new String[]{"java", config.serverParams, "-jar", serverJar.getPath()});
|
||||
return Runtime.getRuntime().exec(("java " + config.serverParams + " -jar " + serverJar.getPath()).split(" ")); //Need to use split() because of the supplied params
|
||||
}
|
||||
|
||||
private static void sendMessage(PrintWriter output, String color, String text) {
|
||||
|
|
Loading…
Reference in a new issue