SteamWar/BungeeCore
Archiviert
13
2

Wait short befor testarena start if bauserver previously running

Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Lixfel 2020-05-21 09:10:08 +02:00
Ursprung 3f93028023
Commit c4d5c13b29

Datei anzeigen

@ -210,6 +210,11 @@ public class BauCommand {
return; return;
} }
subserver.stop(); subserver.stop();
try {
Thread.sleep(200); // Wait until possible testarena-World has been deleted
} catch (InterruptedException e) {
throw new SecurityException("Subserver stop interrupted", e);
}
break; break;
} }
} }