geforkt von SteamWar/BungeeCore
Use default java instead of hardcoded java
Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Ursprung
c98e2c381d
Commit
276cdf1762
@ -74,7 +74,7 @@ public abstract class Node {
|
||||
public abstract double getLoad();
|
||||
|
||||
protected void constructServerstart(File directory, List<String> cmd, String serverJar, String worldDir, String levelName, int port, String xmx, String... dParams) {
|
||||
cmd.add("/usr/lib/jvm/java-16-openj9-amd64/bin/java");
|
||||
cmd.add("java");
|
||||
|
||||
for(String param : dParams){
|
||||
cmd.add("-D" + param);
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren