From 474609422202ae33e1c941f67f000f9d88aa297c Mon Sep 17 00:00:00 2001 From: Keuin Date: Fri, 24 Apr 2020 17:48:26 +0800 Subject: Version 1.3.1-dev (BugFix) Improve some info output. BugFix: Deleted backup won't immediately disappear in the suggestion list. --- src/main/java/com/keuin/kbackupfabric/operation/RestoreOperation.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main/java/com/keuin/kbackupfabric/operation') 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; } -- cgit v1.2.3