mirror of
https://github.com/MilkBowl/Vault.git
synced 2024-11-25 12:06:18 +01:00
Add option to silence "no update" logs (#823)
* Added "silent-no-update" config option Added switch to turn off messages if no update is available. * Set default value for "silent-no-update" * Removed any "no update available" option and message
This commit is contained in:
parent
3f20655f0b
commit
52df9d3287
@ -171,8 +171,6 @@ public class Vault extends JavaPlugin {
|
||||
log.warning("Update at: https://dev.bukkit.org/projects/vault");
|
||||
} else if (currentVersion > newVersion) {
|
||||
log.info("Stable Version: " + newVersionTitle + " | Current Version: " + currentVersionTitle);
|
||||
} else {
|
||||
log.info("No new version available");
|
||||
}
|
||||
} catch (Exception e) {
|
||||
// ignore exceptions
|
||||
@ -182,7 +180,6 @@ public class Vault extends JavaPlugin {
|
||||
}, 0, 432000);
|
||||
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
// Load up the Plugin metrics
|
||||
|
Loading…
Reference in New Issue
Block a user