summaryrefslogtreecommitdiff
path: root/src/main/java/com/keuin/kbackupfabric/operation/RestoreOperation.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/com/keuin/kbackupfabric/operation/RestoreOperation.java')
-rw-r--r--src/main/java/com/keuin/kbackupfabric/operation/RestoreOperation.java4
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;
}