diff options
author | Keuin <[email protected]> | 2020-04-24 17:48:26 +0800 |
---|---|---|
committer | keuin <[email protected]> | 2020-04-24 17:48:26 +0800 |
commit | 474609422202ae33e1c941f67f000f9d88aa297c (patch) | |
tree | 02f303e2c94ec4d2ce6c887bd268406482ae09dd /src/main/java/com/keuin/kbackupfabric/operation | |
parent | ea01faf3947814fe7ecaa3705e5fbf0f171f7e48 (diff) |
Version 1.3.1-dev (BugFix)1.3.1-dev
Improve some info output.
BugFix: Deleted backup won't immediately disappear in the suggestion list.
Diffstat (limited to 'src/main/java/com/keuin/kbackupfabric/operation')
-rw-r--r-- | src/main/java/com/keuin/kbackupfabric/operation/RestoreOperation.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/com/keuin/kbackupfabric/operation/RestoreOperation.java b/src/main/java/com/keuin/kbackupfabric/operation/RestoreOperation.java index 2d0c403..4b129d9 100644 --- a/src/main/java/com/keuin/kbackupfabric/operation/RestoreOperation.java +++ b/src/main/java/com/keuin/kbackupfabric/operation/RestoreOperation.java @@ -25,7 +25,7 @@ class RestoreOperation extends AbstractConfirmableOperation { public boolean confirm() { // do restore to backupName MinecraftServer server = context.getSource().getMinecraftServer(); - PrintUtil.msgInfo(context, String.format("Restoring to previous world %s ...", backupName), true); + PrintUtil.broadcast(String.format("Restoring to previous world %s ...", backupName)); String backupFileName = getBackupFileName(backupName); PrintUtil.debug("Backup file name: " + backupFileName); @@ -41,7 +41,7 @@ class RestoreOperation extends AbstractConfirmableOperation { } catch (InterruptedException ignored) { } } - PrintUtil.msgInfo(context, "Shutting down ...", true); + PrintUtil.broadcast("Shutting down ..."); RestoreWorker.invoke(server, backupFile.getPath(), getLevelPath(server)); return true; } |