forked from SteamWar/SteamWar
Update checkpoint restoration message handling in Subserver
This commit is contained in:
@@ -219,8 +219,7 @@ public class Subserver {
|
|||||||
Exception ex = null;
|
Exception ex = null;
|
||||||
try {
|
try {
|
||||||
if (checkpoint) {
|
if (checkpoint) {
|
||||||
start(process.getErrorStream(), line -> line.contains("Checkpoint restored"));
|
start(process.getErrorStream(), line -> line.contains("Restore finished successfully."));
|
||||||
Thread.sleep(300);
|
|
||||||
} else {
|
} else {
|
||||||
start(process.getInputStream(), line -> {
|
start(process.getInputStream(), line -> {
|
||||||
if (line.contains("Loading libraries, please wait"))
|
if (line.contains("Loading libraries, please wait"))
|
||||||
|
|||||||
Reference in New Issue
Block a user