SteamWar/BungeeCore
Archiviert
13
2

Finished autodeletion of arenas

Dieser Commit ist enthalten in:
Lixfel 2019-12-16 10:12:46 +01:00
Ursprung 40f54274b7
Commit e63e742c8e

Datei anzeigen

@ -32,7 +32,7 @@ public class SubserverSystem {
return new Subserver(Servertype.ARENA, serverName, port, () -> {
try {
System.out.println(new ProcessBuilder("rm", "-r", "/home/minecraft/backbone/arenaserver/" + serverName).start().exitValue());
new ProcessBuilder("rm", "-r", "/home/minecraft/backbone/arenaserver/" + serverName).start();
} catch (IOException e) {
throw new SecurityException("Could not clean up folder", e);
}
@ -51,7 +51,7 @@ public class SubserverSystem {
new Bauserver(p.getName() + "s Bau", p.getUniqueId(), port, () -> {
try {
System.out.println(new ProcessBuilder("rm", "-r", "/home/minecraft/backbone/arenaserver/" + p.getName()).start().exitValue());
new ProcessBuilder("rm", "-r", "/home/minecraft/backbone/arenaserver/" + p.getName()).start();
} catch (IOException e) {
throw new SecurityException("Could not clean up folder", e);
}