From 2bd8b6b6a03e356e446f91555d33faa4f016a042 Mon Sep 17 00:00:00 2001 From: NotMyFault Date: Wed, 10 Oct 2018 13:57:26 +0200 Subject: [PATCH] Warn before updating Fixes #1050 --- core/src/main/java/com/boydti/fawe/util/Updater.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/main/java/com/boydti/fawe/util/Updater.java b/core/src/main/java/com/boydti/fawe/util/Updater.java index 171fb4a9..cbbf12f1 100644 --- a/core/src/main/java/com/boydti/fawe/util/Updater.java +++ b/core/src/main/java/com/boydti/fawe/util/Updater.java @@ -46,7 +46,7 @@ public class Updater { Fawe.debug("Updated FAWE to " + versionString + " @ " + pendingFile); String url = "https://empcraft.com/fawe/cl?" + Integer.toHexString(Fawe.get().getVersion().hash); new Message().prefix().text("A FAWE update is available:") - .text("\n&8 - &a/fawe update &8 - &7Update the plugin") + .text("\n&8 - &a/fawe update &8 - &7Updates the plugin and restarts the server to apply the changes") .cmdTip("fawe update") .text("\n&8 - &a/fawe changelog") .cmdTip("fawe changelog") @@ -125,4 +125,4 @@ public class Updater { } catch (Throwable ignore) { } } -} \ No newline at end of file +}