mirror of
https://github.com/colbster937/originblacklist.git
synced 2026-03-22 21:37:42 +00:00
disable auto updater
This commit is contained in:
@@ -510,7 +510,8 @@ public final class OriginBlacklist {
|
|||||||
|
|
||||||
private final void checkForUpdates() {
|
private final void checkForUpdates() {
|
||||||
this.checkForUpdates(() -> {
|
this.checkForUpdates(() -> {
|
||||||
if (!this.config.getBoolean("update_checker.auto_update")) {
|
// if (!this.config.getBoolean("update_checker.auto_update")) {
|
||||||
|
if (true) {
|
||||||
this.plugin.log(EnumLogLevel.INFO, "An update is available! Download it at " + this.updateURL);
|
this.plugin.log(EnumLogLevel.INFO, "An update is available! Download it at " + this.updateURL);
|
||||||
} else {
|
} else {
|
||||||
this.updatePlugin();
|
this.updatePlugin();
|
||||||
|
|||||||
Reference in New Issue
Block a user