forked from SteamWar/SteamWar
Fix server transfer failure after checkpoint restoration
This commit is contained in:
@@ -220,6 +220,7 @@ public class Subserver {
|
||||
try {
|
||||
if (checkpoint) {
|
||||
start(process.getErrorStream(), line -> line.contains("Restore finished successfully."));
|
||||
Thread.sleep(300); //Wait for port to be reopened
|
||||
} else {
|
||||
start(process.getInputStream(), line -> {
|
||||
if (line.contains("Loading libraries, please wait"))
|
||||
|
||||
Reference in New Issue
Block a user