From 25916757e52af64a8602f03f88c4dbf56b748f32 Mon Sep 17 00:00:00 2001 From: Nick Minkler Date: Tue, 24 Dec 2013 13:41:08 -0800 Subject: [PATCH] cleanup the update display message, and remove debug line --- src/net/milkbowl/vault/Vault.java | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/src/net/milkbowl/vault/Vault.java b/src/net/milkbowl/vault/Vault.java index 1c7b4e0..9ecf8d7 100644 --- a/src/net/milkbowl/vault/Vault.java +++ b/src/net/milkbowl/vault/Vault.java @@ -145,15 +145,21 @@ public class Vault extends JavaPlugin { if (getServer().getConsoleSender().hasPermission("vault.update")) { try { newVersion = updateCheck(currentVersion); - log.info("Vault version from web: " + newVersion); + log.info("***** Vault Version Checker ***** "); if (newVersion > currentVersion) { - log.warning("Vault " + newVersionTitle + " is out! You are running: Vault " + currentVersion); + log.warning("Stable Version: " + newVersionTitle + " is out!"); + log.warning("Current Version: " + currentVersionTitle); log.warning("Update Vault at: http://dev.bukkit.org/server-mods/vault"); } else if (currentVersion > newVersion) { - log.info("Vault Stable Version: " + newVersionTitle + " You are on a development or experimental build, Happy testing!"); + log.info("Stable Version: " + newVersionTitle); + log.info("Current Version: " + currentVersionTitle); + log.info("You are on a development or experimental build, Happy testing!"); } else { - log.info("Vault is already up to date, thanks for staying current!"); + log.info("Stable Version: " + newVersionTitle); + log.info("Current Version: " + currentVersionTitle); + log.info("No new version available"); } + log.info("**********************************"); } catch (Exception e) { // ignore exceptions }