mirror of
https://github.com/MilkBowl/Vault.git
synced 2024-12-26 02:48:20 +01:00
Add up-to-date message, and dev version message
This commit is contained in:
parent
7d6d695861
commit
d924557dd9
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user