Excludes proxies when adding garbage collector flags
All checks were successful
KnarCraft/Minecraft-Server-Launcher/pipeline/head This commit looks good
All checks were successful
KnarCraft/Minecraft-Server-Launcher/pipeline/head This commit looks good
This commit is contained in:
parent
c3ea85c20b
commit
b808d48bd3
@ -440,7 +440,7 @@ public class Server {
|
||||
processArguments.add(getJavaCommand());
|
||||
processArguments.add("-Xmx" + this.maxRam);
|
||||
processArguments.add("-Xms512M");
|
||||
if (versionAtLeast("1.8")) {
|
||||
if (versionAtLeast("1.8") && !getType().isProxy()) {
|
||||
addGarbageCollectorFlags(processArguments);
|
||||
}
|
||||
processArguments.add("-Djline.terminal=jline.UnsupportedTerminal");
|
||||
|
Loading…
Reference in New Issue
Block a user