Add up-to-date message, and dev version message

This commit is contained in:
Nick Minkler 2013-12-24 12:51:28 -08:00
parent 7d6d695861
commit d924557dd9

View File

@ -144,6 +144,10 @@ public class Vault extends JavaPlugin {
if (newVersion > currentVersion) { if (newVersion > currentVersion) {
log.warning("Vault " + newVersion + " is out! You are running: Vault " + currentVersion); log.warning("Vault " + newVersion + " is out! You are running: Vault " + currentVersion);
log.warning("Update Vault at: http://dev.bukkit.org/server-mods/vault"); log.warning("Update Vault at: http://dev.bukkit.org/server-mods/vault");
} else if (currentVersion > newVersion) {
log.info("It appears you're using an alternate, or development build, happy testing!");
} else {
log.info("Vault is already up to date, thanks for staying current!");
} }
} catch (Exception e) { } catch (Exception e) {
// ignore exceptions // ignore exceptions