mirror of
https://github.com/MilkBowl/Vault.git
synced 2024-11-13 06:06:28 +01:00
Move console log for update check to before we run the update checker.
version increase for development to next version.
This commit is contained in:
parent
b9deb22737
commit
b3783bb262
@ -172,8 +172,8 @@ public class Vault extends JavaPlugin {
|
||||
public void run() {
|
||||
if (getServer().getConsoleSender().hasPermission("vault.update") && getConfig().getBoolean("update-check", true)) {
|
||||
try {
|
||||
log.info("Checking for Updates ... ");
|
||||
newVersion = updateCheck(currentVersion);
|
||||
log.info("Checking for Updates:");
|
||||
if (newVersion > currentVersion) {
|
||||
log.warning("Stable Version: " + newVersionTitle + " is out!" + " You are still running version: " + currentVersionTitle);
|
||||
log.warning("Update at: http://dev.bukkit.org/server-mods/vault");
|
||||
|
Loading…
Reference in New Issue
Block a user