37 lines
1.4 KiB
Diff
37 lines
1.4 KiB
Diff
From 52df9d3287e8d593d0e4d999c6d5daaebe947ca1 Mon Sep 17 00:00:00 2001
|
|
From: Ricardo Boss <mail@ricardoboss.de>
|
|
Date: Tue, 28 Jun 2022 18:50:18 +0200
|
|
Subject: [PATCH] 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
|
|
---
|
|
src/net/milkbowl/vault/Vault.java | 3 ---
|
|
1 file changed, 3 deletions(-)
|
|
|
|
diff --git a/src/net/milkbowl/vault/Vault.java b/src/net/milkbowl/vault/Vault.java
|
|
index ef8b5578..fd2a9787 100644
|
|
--- a/src/net/milkbowl/vault/Vault.java
|
|
+++ b/src/net/milkbowl/vault/Vault.java
|
|
@@ -171,8 +171,6 @@ public void run() {
|
|
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 void run() {
|
|
}, 0, 432000);
|
|
|
|
}
|
|
-
|
|
});
|
|
|
|
// Load up the Plugin metrics
|