geforkt von SteamWar/PersistentBungeeCore
Adding shutdown callback to bauserver
Dieser Commit ist enthalten in:
Ursprung
37eba7a6f9
Commit
70198d0962
@ -7,7 +7,11 @@ public class Bauserver extends Subserver {
|
|||||||
private final UUID owner;
|
private final UUID owner;
|
||||||
|
|
||||||
public Bauserver(String serverName, UUID owner, int port, String... command) {
|
public Bauserver(String serverName, UUID owner, int port, String... command) {
|
||||||
super(Servertype.BAUSERVER, serverName, port, command);
|
this(serverName, owner, port, () -> {}, command);
|
||||||
|
}
|
||||||
|
|
||||||
|
public Bauserver(String serverName, UUID owner, int port, Runnable shutdownCallback, String... command) {
|
||||||
|
super(Servertype.BAUSERVER, serverName, port, shutdownCallback, command);
|
||||||
this.owner = owner;
|
this.owner = owner;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren