13
0

Fixing Bauserver startup procedures

Dieser Commit ist enthalten in:
Lixfel 2020-01-10 20:39:18 +01:00
Ursprung bfb409f2c6
Commit c0dee94e0d

Datei anzeigen

@ -11,7 +11,11 @@ public class Bauserver extends Subserver {
}
public Bauserver(String serverName, UUID owner, int port, Runnable shutdownCallback, String... command) {
super(Servertype.BAUSERVER, serverName, port, shutdownCallback, command);
this(serverName, owner, port, new ProcessBuilder(command), shutdownCallback);
}
public Bauserver(String serverName, UUID owner, int port, ProcessBuilder processBuilder, Runnable shutdownCallback){
super(Servertype.BAUSERVER, serverName, port, processBuilder, shutdownCallback);
this.owner = owner;
}