geforkt von SteamWar/PersistentBungeeCore
Fixing Bauserver startup procedures
Dieser Commit ist enthalten in:
Ursprung
bfb409f2c6
Commit
c0dee94e0d
@ -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;
|
||||
}
|
||||
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren